Player Frame: Difference between revisions

From Club Penguin Protocol
Jump to navigation Jump to search
imported>Refractor
1 revision: importing preprocessed wiki pages
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{PacketInfobox
|title=Player Frame
|handler=sf
|name=u
}}
This packet is sent by the client to the server requesting it to set a frame. In response, the server can deny the client the frame because it doesn't exist, or proceed to send the frame to the other players currently in the room.
This packet is sent by the client to the server requesting it to set a frame. In response, the server can deny the client the frame because it doesn't exist, or proceed to send the frame to the other players currently in the room.
Similar to frame is [[Player Action|action]] but it is used for one-time actions like [[clubpenguinwiki:Wave|Waving]].


== Examples ==
== Examples ==
{{Examples
|client=%xt%s%u#sf%1%26%
|server=%xt%sf%1%5%26%}}
== Variables ==
{| class="wikitable"
{| class="wikitable"
| Client-side
| %xt%s%u#sf%1%25%
|-
|-
| Server-side
! Variable
| %xt%sf%1%5%25%
! Type
|}
! Used In?
 
! Example
== Structure ==
! Description
{| class="wikitable"
|-
{{internal_room_id}}
|-
|-
! scope="col"| Player ID
| frame_id
! scope="col"| Frame
| integer
| Both
| 26
| See [[List of Frames]]
|-
|-
| align="center"| 5
| user_id
| align="center"| 25
| integer
| Response
| 5
| ID of player.
|}
|}


[[Category:Player_Handlers]]
== See also ==
* [[List of Frames]]
* [[Player Action]]
 
[[Category:Player Handlers]]

Latest revision as of 02:48, 7 January 2018

Player Frame
Handler sf
Name u

This packet is sent by the client to the server requesting it to set a frame. In response, the server can deny the client the frame because it doesn't exist, or proceed to send the frame to the other players currently in the room.

Similar to frame is action but it is used for one-time actions like Waving.

Examples

Client side %xt%s%u#sf%1%26%
Server side %xt%sf%1%5%26%


Variables

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

See also