s_tradeOfferBagSlots
global · ui
- Address
0xb71590· 7 bytes, up to0xb71596- Type
uint8_t[7]- Meaning
- Holds the bag-relative slot byte of each own trade slot item
- Confidence
- verified, proof one
- Finding
- ui/trade#the-own-offer
Finding: The own offer in ui: trade requests and status messages
The own offer is three arrays over slots 0 to 6: the item GUID (0xb716d0), its container's GUID (0xb715e8) and its
bag-relative slot byte (0xb71590). 0x4bfa70(slot, bagSlot, item, container) returns 0 for a slot outside 0 to 6. A
zero item sends CMSG_CLEAR_TRADE_ITEM (0x5d4480); any other sends CMSG_SET_TRADE_ITEM (0x5d4380) and returns 0
when that refuses. It then stores the three values, signals TRADE_PLAYER_ITEM_CHANGED (324) with slot + 1 and
returns 1. It tests neither an open trade nor whether another slot holds the item.
The derivation is in the doc.