20 lines
745 B
Markdown
20 lines
745 B
Markdown
# C1 01 01 - ChatRoomClientLeft (by server)
|
|
|
|
## Is sent when
|
|
|
|
This packet is sent by the server after a chat client left the chat room.
|
|
|
|
## Causes the following actions on the client side
|
|
|
|
The client will remove the client from its list, or mark its name in the title bar as offline.
|
|
|
|
## Structure
|
|
|
|
| Index | Length | Data Type | Value | Description |
|
|
|-------|--------|-----------|-------|-------------|
|
|
| 0 | 1 | Byte | 0xC1 | [Packet type](PacketTypes.md) |
|
|
| 1 | 1 | Byte | 15 | Packet header - length of the packet |
|
|
| 2 | 1 | Byte | 0x01 | Packet header - packet type identifier |
|
|
| 3 | 1 | Byte | 0x01 | Packet header - sub packet type identifier |
|
|
| 4 | 1 | Byte | | ClientIndex |
|
|
| 5 | 10 | String | | Name | |