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_BUY_ITEM_IN_SLOT

Client Version 1, Client Version 2

Wowm Representation

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

cmsg CMSG_BUY_ITEM_IN_SLOT = 0x01A3 {
    Guid vendor;
    Item item;
    Guid bag;
    u8 bag_slot;
    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
0x0E4 / LittleItemitem
0x128 / LittleGuidbag
0x1A1 / -u8bag_slot
0x1B1 / -u8amount

Client Version 3.3.5

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/item/cmsg_buy_item_in_slot.wowm:11.

cmsg CMSG_BUY_ITEM_IN_SLOT = 0x01A3 {
    Guid vendor;
    Item item;
    u32 vendor_slot;
    Guid bag;
    u8 bag_slot;
    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
0x0E4 / LittleItemitem
0x124 / Littleu32vendor_slotarcemu: VLack: 3.1.2 This is the slot’s number on the vendor’s panel, starts from 1
0x168 / LittleGuidbag
0x1E1 / -u8bag_slot
0x1F4 / Littleu32amount

Examples

Example 1

0, 33, // size
163, 1, 0, 0, // opcode (419)
100, 0, 0, 0, 0, 0, 0, 0, // vendor: Guid
200, 0, 0, 0, // item: Item
1, 0, 0, 0, // vendor_slot: u32
44, 1, 0, 0, 0, 0, 0, 0, // bag: Guid
7, // bag_slot: u8
3, 0, 0, 0, // amount: u32