C1 F3 08 - HeroStateChanged (by server)
Is sent when
After a the hero state of an observed character changed.
Causes the following actions on the client side
The color of the name of the character is changed accordingly and a message is shown.
Structure
Index | Length | Data Type | Value | Description |
---|---|---|---|---|
0 | 1 | Byte | 0xC1 | Packet type |
1 | 1 | Byte | 7 | Packet header - length of the packet |
2 | 1 | Byte | 0xF3 | Packet header - packet type identifier |
3 | 1 | Byte | 0x08 | Packet header - sub packet type identifier |
4 | 2 | ShortBigEndian | PlayerId | |
6 | 1 | CharacterHeroState | NewState |
CharacterHeroState Enum
Defines the hero state of a character.
Value | Name | Description |
---|---|---|
0 | New | The character is new and has the highest state. |
1 | Hero | The character is a hero. |
2 | LightHero | The character is a hero, but the state is almost gone. |
3 | Normal | The character is in a neutral state. |
4 | PlayerKillWarning | The character killed another character, and has a kill warning. |
5 | PlayerKiller1stStage | The character killed two characters, and has some restrictions. |
6 | PlayerKiller2ndStage | The character killed more than two characters, and has hard restrictions. |