C2 13 - AddNpcsToScope095 (by server)
Is sent when
One or more NPCs got into the observed scope of the player.
Causes the following actions on the client side
The client adds the NPCs to the shown map.
Structure
Index | Length | Data Type | Value | Description |
---|---|---|---|---|
0 | 1 | Byte | 0xC2 | Packet type |
1 | 2 | Short | Packet header - length of the packet | |
3 | 1 | Byte | 0x13 | Packet header - packet type identifier |
4 | 1 | Byte | NpcCount | |
5 | NpcData.Length * NpcCount | Array of NpcData | NPCs |
NpcData Structure
Contains the data of an NPC.
Length: 12 Bytes
Index | Length | Data Type | Value | Description |
---|---|---|---|---|
0 | 2 | ShortBigEndian | Id | |
2 | 1 | Byte | TypeNumber | |
4 « 0 | 1 bit | Boolean | IsPoisoned | |
4 « 1 | 1 bit | Boolean | IsIced | |
4 « 2 | 1 bit | Boolean | IsDamageBuffed | |
4 « 3 | 1 bit | Boolean | IsDefenseBuffed | |
6 | 1 | Byte | CurrentPositionX | |
7 | 1 | Byte | CurrentPositionY | |
8 | 1 | Byte | TargetPositionX | |
9 | 1 | Byte | TargetPositionY | |
10 | 4 bit | Byte | Rotation |