SMSG_LOOT_ROLL
Client Version 1.12
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/loot/smsg_loot_roll.wowm:1
.
smsg SMSG_LOOT_ROLL = 0x02A2 {
Guid creature;
u32 loot_slot;
Guid player;
Item item;
u32 item_random_suffix;
u32 item_random_property_id;
u8 roll_number;
RollVote vote;
}
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 | creature | |
0x0C | 4 / Little | u32 | loot_slot | |
0x10 | 8 / Little | Guid | player | |
0x18 | 4 / Little | Item | item | |
0x1C | 4 / Little | u32 | item_random_suffix | vmangos/mangoszero: not used ? |
0x20 | 4 / Little | u32 | item_random_property_id | |
0x24 | 1 / - | u8 | roll_number | vmangos/cmangos/mangoszero: 0: Need for: item_name > 127: you passed on: item_name Roll number |
0x25 | 1 / - | RollVote | vote |
Client Version 2.4.3, Client Version 3
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/loot/smsg_loot_roll.wowm:17
.
smsg SMSG_LOOT_ROLL = 0x02A2 {
Guid creature;
u32 loot_slot;
Guid player;
Item item;
u32 item_random_suffix;
u32 item_random_property_id;
u8 roll_number;
RollVote vote;
u8 auto_pass;
}
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 | creature | |
0x0C | 4 / Little | u32 | loot_slot | |
0x10 | 8 / Little | Guid | player | |
0x18 | 4 / Little | Item | item | |
0x1C | 4 / Little | u32 | item_random_suffix | vmangos/mangoszero: not used ? |
0x20 | 4 / Little | u32 | item_random_property_id | |
0x24 | 1 / - | u8 | roll_number | vmangos/cmangos/mangoszero: 0: Need for: item_name > 127: you passed on: item_name Roll number |
0x25 | 1 / - | RollVote | vote | |
0x26 | 1 / - | u8 | auto_pass | mangosone/arcemu sets to 0. mangosone: auto pass on loot arcemu: possibly related to disenchanting of loot azerothcore: 1: 'You automatically passed on: %s because you cannot loot that item.' - Possibly used in need before greed |