Files
AdamuSw/docs/Packets/C1-9B-BloodCastleState_by-server.md
2026-07-14 19:00:35 +03:00

40 lines
1.7 KiB
Markdown

# C1 9B - BloodCastleState (by server)
## Is sent when
The state of a blood castle event is about to change.
## Causes the following actions on the client side
The client side shows a message about the changing state.
## Structure
| Index | Length | Data Type | Value | Description |
|-------|--------|-----------|-------|-------------|
| 0 | 1 | Byte | 0xC1 | [Packet type](PacketTypes.md) |
| 1 | 1 | Byte | 13 | Packet header - length of the packet |
| 2 | 1 | Byte | 0x9B | Packet header - packet type identifier |
| 3 | 1 | Status | | State |
| 4 | 2 | ShortLittleEndian | | RemainSecond |
| 6 | 2 | ShortLittleEndian | | MaxMonster |
| 8 | 2 | ShortLittleEndian | | CurMonster |
| 10 | 2 | ShortLittleEndian | | ItemOwnerId |
| 12 | 1 | Byte | | ItemLevel |
### Status Enum
Defines the status of the event.
| Value | Name | Description |
|-------|------|-------------|
| 0 | BloodCastleStarted | The blood castle event has just started and is running. |
| 1 | BloodCastleGateNotDestroyed | The blood castle event is running, but the gate is not destroyed. |
| 2 | BloodCastleEnded | The blood castle event has ended. |
| 4 | BloodCastleGateDestroyed | The blood castle event is running and the gate is destroyed. |
| 5 | ChaosCastleStarted | The chaos castle event has just started and is running. |
| 6 | ChaosCastleRunning | The chaos castle event is running. |
| 7 | ChaosCastleEnded | The chaos castle event has ended. |
| 8 | ChaosCastleStageOne | The chaos castle event reached the first stage of map shrinking. |
| 9 | ChaosCastleStageTwo | The chaos castle event reached the second stage of map shrinking. |
| 10 | ChaosCastleStageThree | The chaos castle event reached the third stage of map shrinking. |