SMSG_ENCHANTMENTLOG
Client Version 1, Client Version 2
cmangos and vmangos/mangoszero disagree about packed and extra u8
Wowm Representation
Autogenerated from wowm file at wow_message_parser/wowm/world/item/smsg_enchantmentlog.wowm:2.
smsg SMSG_ENCHANTMENTLOG = 0x01D7 {
Guid target;
Guid caster;
Item item;
Spell spell;
Bool show_affiliation;
}
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 | target | |
| 0x0C | 8 / Little | Guid | caster | vmangos: message says enchant has faded if empty |
| 0x14 | 4 / Little | Item | item | |
| 0x18 | 4 / Little | Spell | spell | |
| 0x1C | 1 / - | Bool | show_affiliation | vmangos: Only used if caster is not 0. |
Client Version 3.3.5
Some emulators have the guids as not packed.
Wowm Representation
Autogenerated from wowm file at wow_message_parser/wowm/world/item/smsg_enchantmentlog.wowm:15.
smsg SMSG_ENCHANTMENTLOG = 0x01D7 {
PackedGuid target;
PackedGuid caster;
Item item;
Spell spell;
Bool show_affiliation;
}
Header
SMSG have a header of 4 bytes.
SMSG Header
| Offset | Size / Endianness | Type | Name | Description |
|---|---|---|---|---|
| 0x00 | 2 OR 3 / Big | uint16 OR uint16+uint8 | size | Size of the rest of the message including the opcode field but not including the size field. Wrath server messages can be 3 bytes. If the first (most significant) size byte has 0x80 set, the header will be 3 bytes, otherwise it is 2. |
| - | 2 / Little | uint16 | opcode | Opcode that determines which fields the message contains. |
Body
| Offset | Size / Endianness | Type | Name | Comment |
|---|---|---|---|---|
| - | - / - | PackedGuid | target | |
| - | - / - | PackedGuid | caster | vmangos: message says enchant has faded if empty |
| - | 4 / Little | Item | item | |
| - | 4 / Little | Spell | spell | |
| - | 1 / - | Bool | show_affiliation | vmangos: Only used if caster is not 0. |