CMSG_PET_CAST_SPELL

Client Version 1.12

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/pet/cmsg_pet_cast_spell.wowm:1.

cmsg CMSG_PET_CAST_SPELL = 0x01F0 {
    Guid guid;
    Spell id;
    SpellCastTargets targets;
}

CMSG have a header of 6 bytes.

CMSG Header

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

Body

OffsetSize / EndiannessTypeNameComment
0x068 / LittleGuidguid
0x0E4 / LittleSpellid
0x12- / -SpellCastTargetstargets

Client Version 2.4.3

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/pet/cmsg_pet_cast_spell.wowm:1.

cmsg CMSG_PET_CAST_SPELL = 0x01F0 {
    Guid guid;
    Spell id;
    SpellCastTargets targets;
}

Header

CMSG have a header of 6 bytes.

CMSG Header

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

Body

OffsetSize / EndiannessTypeNameComment
0x068 / LittleGuidguid
0x0E4 / LittleSpellid
0x12- / -SpellCastTargetstargets

Client Version 3.3.5

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/pet/cmsg_pet_cast_spell.wowm:9.

cmsg CMSG_PET_CAST_SPELL = 0x01F0 {
    Guid guid;
    u8 cast_count;
    Spell id;
    ClientCastFlags cast_flags;
    SpellCastTargets targets;
    if (cast_flags == EXTRA) {
        f32 elevation;
        f32 speed;
        ClientMovementData movement_data;
        if (movement_data == PRESENT) {
            u32 opcode;
            PackedGuid movement;
            MovementInfo info;
        }
    }
}

Header

CMSG have a header of 6 bytes.

CMSG Header

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

Body

OffsetSize / EndiannessTypeNameComment
0x068 / LittleGuidguid
0x0E1 / -u8cast_count
0x0F4 / LittleSpellid
0x131 / -ClientCastFlagscast_flags
0x14- / -SpellCastTargetstargets

If cast_flags is equal to EXTRA:

OffsetSize / EndiannessTypeNameComment
-4 / Littlef32elevation
-4 / Littlef32speed
-1 / -ClientMovementDatamovement_data

If movement_data is equal to PRESENT:

OffsetSize / EndiannessTypeNameComment
-4 / Littleu32opcode
-- / -PackedGuidmovement
-- / -MovementInfoinfo