baseline: OpenMU upstream b5a0961 (fresh source)

This commit is contained in:
Acentech Dev
2026-07-14 19:00:35 +03:00
parent 450402e47d
commit 36fc125d5c
11968 changed files with 748705 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
# C1 A7 - PetCommandRequest (by client)
## Is sent when
The player wants to command its equipped pet (raven).
## Causes the following actions on the server side
## Structure
| Index | Length | Data Type | Value | Description |
|-------|--------|-----------|-------|-------------|
| 0 | 1 | Byte | 0xC1 | [Packet type](PacketTypes.md) |
| 1 | 1 | Byte | 7 | Packet header - length of the packet |
| 2 | 1 | Byte | 0xA7 | Packet header - packet type identifier |
| 3 | 1 | PetType | | PetType |
| 4 | 1 | PetCommandMode | | CommandMode |
| 5 | 2 | ShortBigEndian | | TargetId |
### PetType Enum
Describes the type of pet.
| Value | Name | Description |
|-------|------|-------------|
| 0 | DarkRaven | The dark raven pet. |
| 1 | DarkHorse | The dark horse pet. |
### PetCommandMode Enum
Describes the pet command mode.
| Value | Name | Description |
|-------|------|-------------|
| 0 | Normal | The pet is in a normal mode, where it doesn't attack. |
| 1 | AttackRandom | The pet attacks random targets. |
| 2 | AttackWithOwner | The pet attacks the same targets as the owner. |
| 3 | AttackTarget | The pet attacks a specific target until it's dead. |