SMSG_TRADE_STATUS_EXTENDED
Client Version 1.12
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/trade/smsg_trade_status_extended.wowm:21
.
smsg SMSG_TRADE_STATUS_EXTENDED = 0x0121 {
Bool self_player;
u32 trade_slot_count1;
u32 trade_slot_count2;
Gold money_in_trade;
Spell spell_on_lowest_slot;
TradeSlot[7] trade_slots;
}
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 | 1 / - | Bool | self_player | cmangos/vmangos/mangoszero: send trader or own trade windows state (last need for proper show spell apply to non-trade slot) |
0x05 | 4 / Little | u32 | trade_slot_count1 | cmangos/vmangos/mangoszero: sets to 7 cmangos/vmangos/mangoszero: trade slots count/number?, = next field in most cases |
0x09 | 4 / Little | u32 | trade_slot_count2 | cmangos/vmangos/mangoszero: sets to 7 cmangos/vmangos/mangoszero: trade slots count/number?, = prev field in most cases |
0x0D | 4 / Little | Gold | money_in_trade | |
0x11 | 4 / Little | Spell | spell_on_lowest_slot | |
0x15 | 427 / - | TradeSlot[7] | trade_slots | vmangos/cmangos/mangoszero: All set to same as trade_slot_count* (7), unsure which determines how big this is. Unused slots are 0. |
Client Version 2.4.3, Client Version 3
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/trade/smsg_trade_status_extended.wowm:61
.
smsg SMSG_TRADE_STATUS_EXTENDED = 0x0121 {
Bool self_player;
u32 trade_id;
u32 trade_slot_count1;
u32 trade_slot_count2;
Gold money_in_trade;
Spell spell_on_lowest_slot;
TradeSlot[7] trade_slots;
}
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 | 1 / - | Bool | self_player | cmangos/vmangos/mangoszero: send trader or own trade windows state (last need for proper show spell apply to non-trade slot) |
0x05 | 4 / Little | u32 | trade_id | added in 2.4.0, this value must be equal to value from TRADE_STATUS_OPEN_WINDOW status packet (different value for different players to block multiple trades?) |
0x09 | 4 / Little | u32 | trade_slot_count1 | cmangos/vmangos/mangoszero: sets to 7 cmangos/vmangos/mangoszero: trade slots count/number?, = next field in most cases |
0x0D | 4 / Little | u32 | trade_slot_count2 | cmangos/vmangos/mangoszero: sets to 7 cmangos/vmangos/mangoszero: trade slots count/number?, = prev field in most cases |
0x11 | 4 / Little | Gold | money_in_trade | |
0x15 | 4 / Little | Spell | spell_on_lowest_slot | |
0x19 | 511 / - | TradeSlot[7] | trade_slots | vmangos/cmangos/mangoszero: All set to same as trade_slot_count* (7), unsure which determines how big this is. Unused slots are 0. |