Get Inventory: Difference between revisions

From Club Penguin Protocol
Jump to navigation Jump to search
imported>Refractor
1 revision: importing preprocessed wiki pages
imported>Lisured
→‎Examples: no room id needed
Line 6: Line 6:
{| class="wikitable"
{| class="wikitable"
| Client-side
| Client-side
| %xt%s%i#gi%1%
| %xt%s%i#gi%-1%
|-
|-
| Server-side
| Server-side
| %xt%gi%1%4%413%171%
| %xt%gi%-1%4%413%171%
|}
|}



Revision as of 03:08, 4 June 2014

This packet is sent by the client to the server on-login requesting the all of the client's item inventory. The server in response sends a list of item ids back to the client - all of which are separated by a percent sign.

The client uses this packet in order for the client to be able to check which items they currently own via their player-card.

Examples

Client-side %xt%s%i#gi%-1%
Server-side %xt%gi%-1%4%413%171%

Structure

Item One Item Two Item Three
4 413 171

<seealso> Buy Inventory </seealso>