Update Player Hand: Difference between revisions

From Club Penguin Protocol
Jump to navigation Jump to search
imported>Lisured
generalised penguin to player
imported>Lisured
added missing part of request packet
Line 4: Line 4:
{| class="wikitable"
{| class="wikitable"
| Client-side
| Client-side
| %xt%s#upa%'''[[Room|room_id]]'''%'''[[Item|item_id]]'''%
| %xt%s%s#upa%'''[[Room|room_id]]'''%'''[[Item|item_id]]'''%
|-
|-
| Server-side
| Server-side

Revision as of 01:26, 6 June 2014

This packet is sent by the client to the server requesting to set player’s hand item to specified item. In response all clients in the room will receive `upa` packet containing the ID of player alongside with an item provided in the request.

Structure

Client-side %xt%s%s#upa%room_id%item_id%
Server-side %xt%upa%room_id%penguin_id%item_id%