Skip to content

Updating player flags

Youx edited this page Sep 13, 2010 · 1 revision

Changing a player’s channel privileges (CA, OP, Voice…)

Client : requesting a change in channel privileges (0xf0be3201)

Size Format Description
 4 bytes  32 bit unsigned integer  Public ID of the target
1 byte  Boolean  Set the privilege on (0) /off (2)
1 byte Shift left of the privilege to grant/revoke 1 << value = channel admin, voice, …

Server : notify that a player’s channel privileges changed (0xf0be6a00)

Size Format Description
4 bytes 32 bit unsigned integer Public ID of the target
1 byte Boolean Set the privilege on (0) /off (2)
1 byte Offset of the privilege to grant/revoke 1 << value = channel admin, voice, …
4 bytes 32 bit unsigned integer  Public ID of the player who ordered the change

Changing a player’s server privileges (SA, Registered, …)

Client : requesting a change in server privileges (0xf0be3301)

Size Format Description
4 bytes 32 bit unsigned integer Public ID of the target
1 byte Boolean Set the privilege on (0) /off (2)
1 byte Shift left of the privilege to grant/revoke 1 << value = server admin, allow registration …

Server : notify that a player’s server privileges changed (0xf0be6b00)

Size Format Description
4 bytes 32 bit unsigned integer Public ID of the target
1 byte Boolean Set the privilege on (0) /off (2)
1 byte Offset of the privilege to grant/revoke 1 << value = server admin, allow registration, …
4 bytes 32 bit unsigned integer Public ID of the player who ordered the change

Changing a player’s attributes (mute speaker, mute microphone, away, …)

Client : updating the attributes (0xf0be3001)

Size Format Description
2 byte Bitfield Updated player attributes

Server : notify that a player’s attributes have changed (0xf0be6800)

Size Format Description
4 bytes 32 bit unsigned integer Public ID of the player whose status changed
2 byte Bitfield Updated player attributes