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;
}

SMSG have a header of 4 bytes.

SMSG Header

OffsetSize / EndiannessTypeNameDescription
0x002 / Biguint16sizeSize of the rest of the message including the opcode field but not including the size field.
0x022 / Littleuint16opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
0x048 / LittleGuidguid
0x0C1 / -PetReactStatereact_state
0x0D1 / -PetCommandStatecommand_state
0x0E1 / -u8unknown1vmangos sets to 0.
0x0F1 / -PetEnabledpet_enabled