baseline: OpenMU upstream b5a0961 (fresh source)
This commit is contained in:
40
docs/Packets/C1-A7-PetCommandRequest_by-client.md
Normal file
40
docs/Packets/C1-A7-PetCommandRequest_by-client.md
Normal 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. |
|
||||
Reference in New Issue
Block a user