CMSG_BUY_ITEM
Client Version 1, Client Version 2
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/item/cmsg_buy_item.wowm:1
.
cmsg CMSG_BUY_ITEM = 0x01A2 {
Guid vendor;
Item item;
u8 amount;
u8 unknown1;
}
Header
CMSG have a header of 6 bytes.
CMSG 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 | 4 / Little | uint32 | opcode | Opcode that determines which fields the message contains. |
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x06 | 8 / Little | Guid | vendor | |
0x0E | 4 / Little | Item | item | |
0x12 | 1 / - | u8 | amount | |
0x13 | 1 / - | u8 | unknown1 | cmangos says this is hardcoded to 1 in the TBC client. |
Client Version 3.3.5
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/item/cmsg_buy_item.wowm:11
.
cmsg CMSG_BUY_ITEM = 0x01A2 {
Guid vendor;
Item item;
u32 slot;
u8 amount;
}
Header
CMSG have a header of 6 bytes.
CMSG 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 | 4 / Little | uint32 | opcode | Opcode that determines which fields the message contains. |
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x06 | 8 / Little | Guid | vendor | |
0x0E | 4 / Little | Item | item | |
0x12 | 4 / Little | u32 | slot | |
0x16 | 1 / - | u8 | amount |