20 lines
742 B
Markdown
20 lines
742 B
Markdown
# C1 C1 01 - FriendAdded (by server)
|
|
|
|
## Is sent when
|
|
|
|
After a friend has been added to the friend list.
|
|
|
|
## Causes the following actions on the client side
|
|
|
|
The friend appears in the friend list.
|
|
|
|
## 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 | 0xC1 | Packet header - packet type identifier |
|
|
| 3 | 1 | Byte | 0x01 | Packet header - sub packet type identifier |
|
|
| 4 | 10 | String | | FriendName |
|
|
| 14 | 1 | Byte | 0xFF | ServerId; The server id on which the player currently is online. 0xFF means offline. | |