CMSG_CAST_SPELL
Client Version 1.12
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/spell/cmsg_cast_spell.wowm:1
.
cmsg CMSG_CAST_SPELL = 0x012E {
Spell spell;
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 | 4 / Little | Spell | spell | |
0x0A | - / - | SpellCastTargets | targets |
Examples
Example 1
0, 10, // size
46, 1, 0, 0, // opcode (302)
120, 80, 0, 0, // spell: Spell
0, 0, // SpellCastTargets.target_flags: SpellCastTargetFlags SELF (0)
Client Version 2.4.3
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/spell/cmsg_cast_spell.wowm:1
.
cmsg CMSG_CAST_SPELL = 0x012E {
Spell spell;
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 | 4 / Little | Spell | spell | |
0x0A | - / - | SpellCastTargets | targets |
Client Version 3.3.5
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/spell/cmsg_cast_spell.wowm:8
.
cmsg CMSG_CAST_SPELL = 0x012E {
u8 cast_count;
Spell spell;
ClientCastFlags cast_flags;
SpellCastTargets targets;
if (cast_flags == EXTRA) {
f32 elevation;
f32 speed;
ClientMovementData movement_data;
if (movement_data == PRESENT) {
u32 opcode;
PackedGuid guid;
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. |