-
Notifications
You must be signed in to change notification settings - Fork 7
Text messages
Youx edited this page Sep 13, 2010
·
1 revision
| Value | Action | Value of the ID field |
|---|---|---|
| 0 | Send message to all players on the server | 0 |
| 1 | Send message to all players in the channel | The ID of the channel |
| 2 | Send message to a player | The ID of the player |
| Size | Format | Description |
|---|---|---|
| 4 bytes | 32 bit unsigned integer | Color of the message in hexadecimal |
| 1 byte | 8 bit value | Type of the message |
| 4 bytes | 32 bit unsigned integer | ID |
| * | Null terminated string | Message to send |
| Size | Format | Description |
|---|---|---|
| 4 bytes | 32 bit unsigned integer | Color of the message in hexadecimal |
| 1 byte | 8 bit value | Type of the message |
| 1 byte | 8 bit value | Length of the sender name |
| 29 bytes | Static string (not null terminated) | Sender name (can be “SERVER” if we send a kick notification) |
| * | Null terminated string | Message to send |