SMSG_ITEM_PUSH_RESULT
Client Version 1
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/item/smsg_item_push_result.wowm:22
.
smsg SMSG_ITEM_PUSH_RESULT = 0x0166 {
Guid guid;
NewItemSource source;
NewItemCreationType creation_type;
NewItemChatAlert alert_chat;
u8 bag_slot;
u32 item_slot;
Item item;
u32 item_suffix_factor;
u32 item_random_property_id;
u32 item_count;
}
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 | guid | |
0x0C | 4 / - | NewItemSource | source | |
0x10 | 4 / - | NewItemCreationType | creation_type | |
0x14 | 4 / - | NewItemChatAlert | alert_chat | |
0x18 | 1 / - | u8 | bag_slot | |
0x19 | 4 / Little | u32 | item_slot | mangoszero: item slot, but when added to stack: 0xFFFFFFFF |
0x1D | 4 / Little | Item | item | |
0x21 | 4 / Little | u32 | item_suffix_factor | mangoszero: SuffixFactor |
0x25 | 4 / Little | u32 | item_random_property_id | mangoszero: random item property id |
0x29 | 4 / Little | u32 | item_count |
Examples
Example 1
Comment
Pushing the creation of a lionheart helm to player with Guid 4.
0, 43, // size
102, 1, // opcode (358)
4, 0, 0, 0, 0, 0, 0, 0, // guid: Guid
0, 0, 0, 0, // source: NewItemSource LOOTED (0)
1, 0, 0, 0, // creation_type: NewItemCreationType CREATED (1)
1, 0, 0, 0, // alert_chat: NewItemChatAlert SHOW (1)
255, // bag_slot: u8
24, 0, 0, 0, // item_slot: u32
96, 49, 0, 0, // item: Item
0, 0, 0, 0, // item_suffix_factor: u32
0, 0, 0, 0, // item_random_property_id: u32
1, 0, 0, 0, // item_count: u32
Client Version 2.4.3, Client Version 3
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/item/smsg_item_push_result.wowm:69
.
smsg SMSG_ITEM_PUSH_RESULT = 0x0166 {
Guid guid;
NewItemSource source;
NewItemCreationType creation_type;
NewItemChatAlert alert_chat;
u8 bag_slot;
u32 item_slot;
Item item;
u32 item_suffix_factor;
u32 item_random_property_id;
u32 item_count;
u32 item_count_in_inventory;
}
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 | guid | |
0x0C | 4 / - | NewItemSource | source | |
0x10 | 4 / - | NewItemCreationType | creation_type | |
0x14 | 4 / - | NewItemChatAlert | alert_chat | |
0x18 | 1 / - | u8 | bag_slot | |
0x19 | 4 / Little | u32 | item_slot | mangoszero: item slot, but when added to stack: 0xFFFFFFFF |
0x1D | 4 / Little | Item | item | |
0x21 | 4 / Little | u32 | item_suffix_factor | mangoszero: SuffixFactor |
0x25 | 4 / Little | u32 | item_random_property_id | mangoszero: random item property id |
0x29 | 4 / Little | u32 | item_count | |
0x2D | 4 / Little | u32 | item_count_in_inventory |