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;
}

SMSG have a header of 4 bytes.

SMSG Header

OffsetSize / EndiannessTypeNameDescription
0x002 / Biguint16sizeSize of the rest of the message including the opcode field but not including the size field.
0x022 / Littleuint16opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
0x041 / -Boolself_playercmangos/vmangos/mangoszero: send trader or own trade windows state (last need for proper show spell apply to non-trade slot)
0x054 / Littleu32trade_slot_count1cmangos/vmangos/mangoszero: sets to 7
cmangos/vmangos/mangoszero: trade slots count/number?, = next field in most cases
0x094 / Littleu32trade_slot_count2cmangos/vmangos/mangoszero: sets to 7
cmangos/vmangos/mangoszero: trade slots count/number?, = prev field in most cases
0x0D4 / LittleGoldmoney_in_trade
0x114 / LittleSpellspell_on_lowest_slot
0x15427 / -TradeSlot[7]trade_slotsvmangos/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

OffsetSize / EndiannessTypeNameDescription
0x002 / Biguint16sizeSize of the rest of the message including the opcode field but not including the size field.
0x022 / Littleuint16opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
0x041 / -Boolself_playercmangos/vmangos/mangoszero: send trader or own trade windows state (last need for proper show spell apply to non-trade slot)
0x054 / Littleu32trade_idadded 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?)
0x094 / Littleu32trade_slot_count1cmangos/vmangos/mangoszero: sets to 7
cmangos/vmangos/mangoszero: trade slots count/number?, = next field in most cases
0x0D4 / Littleu32trade_slot_count2cmangos/vmangos/mangoszero: sets to 7
cmangos/vmangos/mangoszero: trade slots count/number?, = prev field in most cases
0x114 / LittleGoldmoney_in_trade
0x154 / LittleSpellspell_on_lowest_slot
0x19511 / -TradeSlot[7]trade_slotsvmangos/cmangos/mangoszero: All set to same as trade_slot_count* (7), unsure which determines how big this is. Unused slots are 0.