SMSG_BUY_FAILED

Client Version 1, Client Version 2, Client Version 3

Some TBC and Wrath emus have a u32 before result that is only included if the value is > 0, but the emus never call it with anything other than 0.

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/item/smsg_buy_failed.wowm:16.

smsg SMSG_BUY_FAILED = 0x01A5 {
    Guid guid;
    Item item;
    BuyResult result;
}

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
0x048 / LittleGuidguid
0x0C4 / LittleItemitem
0x101 / -BuyResultresult