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;
}
Header
CMSG have a header of 6 bytes.
CMSG 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 | 4 / Little | uint32 | opcode | Opcode that determines which fields the message contains. |
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x06 | 8 / Little | Guid | guid | |
0x0E | 4 / Little | Spell | id | |
0x12 | - / - | SpellCastTargets | targets |
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
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 | 4 / Little | uint32 | opcode | Opcode that determines which fields the message contains. |
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x06 | 8 / Little | Guid | guid | |
0x0E | 4 / Little | Spell | id | |
0x12 | - / - | SpellCastTargets | targets |
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
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 | 4 / Little | uint32 | opcode | Opcode that determines which fields the message contains. |
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x06 | 8 / Little | Guid | guid | |
0x0E | 1 / - | u8 | cast_count | |
0x0F | 4 / Little | Spell | id | |
0x13 | 1 / - | ClientCastFlags | cast_flags | |
0x14 | - / - | SpellCastTargets | targets |
If cast_flags is equal to EXTRA
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | 4 / Little | f32 | elevation | |
- | 4 / Little | f32 | speed | |
- | 1 / - | ClientMovementData | movement_data |
If movement_data is equal to PRESENT
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | 4 / Little | u32 | opcode | |
- | - / - | PackedGuid | movement | |
- | - / - | MovementInfo | info |