Files
AdamuSw/docs/Packets/C1-FC-HeykelSavasiTeamRoster_by-server.md
2026-07-21 10:25:07 +03:00

30 lines
1.2 KiB
Markdown

# C1 FC - HeykelSavasiTeamRoster (by server)
## Is sent when
Periodically (about once every one to two seconds) while the Heykel Savasi (Statue War) event is open for registration, in its pre-battle countdown, or being played.
## Causes the following actions on the client side
The client tints each listed nearby player red or blue according to its team.
## Structure
| Index | Length | Data Type | Value | Description |
|-------|--------|-----------|-------|-------------|
| 0 | 1 | Byte | 0xC1 | [Packet type](PacketTypes.md) |
| 1 | 1 | Byte | | Packet header - length of the packet |
| 2 | 1 | Byte | 0xFC | Packet header - packet type identifier |
| 3 | 1 | Byte | | Count; The number of player-team entries which follow. |
| 4 | PlayerTeam.Length * Count | Array of PlayerTeam | | Players |
### PlayerTeam Structure
Maps a player's network id to its Heykel Savasi team.
Length: 3 Bytes
| Index | Length | Data Type | Value | Description |
|-------|--------|-----------|-------|-------------|
| 0 | 2 | ShortBigEndian | | PlayerId; The network id of the player (same id used in the viewport/appearance packets). |
| 2 | 1 | Byte | | Team; 1 = red, 2 = blue. |