Player Frame: Difference between revisions

From Club Penguin Protocol
Jump to navigation Jump to search
imported>Arthur
Frame list is now its own page
imported>Lisured
new layout
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|Wawing]].


== 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.
|}
|}


== See also ==
== See also ==
* [[List of Frames]]
* [[List of Frames]]
* [[Player Action]]


[[Category:Player Handlers]]
[[Category:Player Handlers]]

Revision as of 19:04, 28 December 2014

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 Wawing.

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