Player Frame: Difference between revisions
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" | ||
|- | |- | ||
! Variable | |||
! Type | |||
! Used In? | |||
! Example | |||
! Description | |||
{ | |- | ||
{{internal_room_id}} | |||
|- | |- | ||
| frame_id | |||
| integer | |||
| Both | |||
| 26 | |||
| See [[List of Frames]] | |||
|- | |- | ||
| | | user_id | ||
| | | integer | ||
| Response | |||
| 5 | |||
| ID of player. | |||
|} | |} | ||
[[Category: | == 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. |