Player Action: Difference between revisions

From Club Penguin Protocol
Jump to navigation Jump to search
imported>Lisured
Created page with "{{PacketInfobox |title=Player Action |handler=sa |name=u }} This packet is sent by the client to the server requesting it to carry out an action. In response, the server can..."
 
imported>Lisured
internal_room_id → template
 
Line 12: Line 12:
{{Examples
{{Examples
|client=%xt%s%u#sa%1%25%
|client=%xt%s%u#sa%1%25%
|server=%xt%sa%1%555%25%}}
|server=%xt%sa%1%5%25%}}


== Variables ==
== Variables ==
Line 23: Line 23:
! Description
! Description
|-
|-
| internal_room_id
| {{internal_room_id}}
| integer
| Both
| 1
| See [[Internal Room ID]].
|-
|-
| frame_id
| frame_id
Line 35: Line 31:
| See [[List of Frames]]
| See [[List of Frames]]
|-
|-
| user_id
| {{user_id}}
| integer
| Response
| 555
| ID of player.
|}
|}



Latest revision as of 19:19, 28 December 2014

Player Action
Handler sa
Name u

This packet is sent by the client to the server requesting it to carry out an action. In response, the server can deny the client the action because it doesn’t exist, or proceed to send the action to the other players currently in the room.

Action is similar to frame but it is used for one-time actions like Wawing.

Examples

Client side %xt%s%u#sa%1%25%
Server side %xt%sa%1%5%25%


Variables

Variable Type Used In? Example Description
internal_room_id integer Both 1 See Internal Room ID.
frame_id integer Both 25 See List of Frames
user_id integer Response 5 ID of player.

See also