SMSG_PET_MODE
Client Version 1, Client Version 2, Client Version 3
Wowm Representation
Autogenerated from wowm file at wow_message_parser/wowm/world/pet/smsg_pet_mode.wowm:8.
smsg SMSG_PET_MODE = 0x017A {
Guid guid;
PetReactState react_state;
PetCommandState command_state;
u8 unknown1;
PetEnabled pet_enabled;
}
Header
SMSG have a header of 4 bytes.
SMSG Header
| Offset | Size / Endianness | Type | Name | Description |
|---|---|---|---|---|
| 0x00 | 2 / Big | uint16 | size | Size of the rest of the message including the opcode field but not including the size field. |
| 0x02 | 2 / Little | uint16 | opcode | Opcode that determines which fields the message contains. |
Body
| Offset | Size / Endianness | Type | Name | Comment |
|---|---|---|---|---|
| 0x04 | 8 / Little | Guid | guid | |
| 0x0C | 1 / - | PetReactState | react_state | |
| 0x0D | 1 / - | PetCommandState | command_state | |
| 0x0E | 1 / - | u8 | unknown1 | vmangos sets to 0. |
| 0x0F | 1 / - | PetEnabled | pet_enabled |