Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

CMSG_SELL_ITEM

Client Version 1, Client Version 2

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/item/cmsg_sell_item.wowm:1.

cmsg CMSG_SELL_ITEM = 0x01A0 {
    Guid vendor;
    Guid item;
    u8 amount;
}

CMSG have a header of 6 bytes.

CMSG Header

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

Body

OffsetSize / EndiannessTypeNameComment
0x068 / LittleGuidvendor
0x0E8 / LittleGuiditem
0x161 / -u8amount

Client Version 3.3.5

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/item/cmsg_sell_item.wowm:9.

cmsg CMSG_SELL_ITEM = 0x01A0 {
    Guid vendor;
    Guid item;
    u32 amount;
}

Header

CMSG have a header of 6 bytes.

CMSG Header

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

Body

OffsetSize / EndiannessTypeNameComment
0x068 / LittleGuidvendor
0x0E8 / LittleGuiditem
0x164 / Littleu32amount

Examples

Example 1

0, 24, // size
160, 1, 0, 0, // opcode (416)
100, 0, 0, 0, 0, 0, 0, 0, // vendor: Guid
200, 0, 0, 0, 0, 0, 0, 0, // item: Guid
3, 0, 0, 0, // amount: u32