SMSG_ITEM_REFUND_RESULT

Client Version 3.3.5

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/item/smsg_item_refund_result.wowm:8.

smsg SMSG_ITEM_REFUND_RESULT = 0x04B5 {
    Guid item;
    ItemRefundResult result;
    if (result == SUCCESS) {
        Gold cost;
        u32 honor_point_cost;
        u32 arena_point_cost;
        ItemRefundExtra[5] extra_items;
    }
}

SMSG have a header of 4 bytes.

SMSG Header

OffsetSize / EndiannessTypeNameDescription
0x002 OR 3 / Biguint16 OR uint16+uint8sizeSize of the rest of the message including the opcode field but not including the size field. Wrath server messages can be 3 bytes. If the first (most significant) size byte has 0x80 set, the header will be 3 bytes, otherwise it is 2.
-2 / Littleuint16opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
-8 / LittleGuiditem
-1 / -ItemRefundResultresult

If result is equal to SUCCESS:

OffsetSize / EndiannessTypeNameComment
-4 / LittleGoldcost
-4 / Littleu32honor_point_cost
-4 / Littleu32arena_point_cost
-40 / -ItemRefundExtra[5]extra_items