Get Inventory: Difference between revisions

From Club Penguin Protocol
Jump to navigation Jump to search
imported>Refractor
1 revision: importing preprocessed wiki pages
imported>Arthur
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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.
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.
The client uses this packet in order for the client to be able to check which items they currently own via their player-card.
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%
|}
|}


Line 24: Line 24:
|}
|}


<seealso>
== See also ==
Buy Inventory
* [[Buy Inventory]]
</seealso>
 
[[Category:Item Handlers]]
[[Category:Item Handlers]]

Latest revision as of 23:17, 18 October 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

See also