benilla-re systems structs docs

s_targetTradeSlot7Entry

global · ui

Address
0xb7150c · 4 bytes, up to 0xb7150f
Type
uint32_t
Meaning
Holds the item entry of the partner's seventh trade slot, which the trade will not carry out
Confidence
verified, proof one
Finding
ui/tradelootverbs#describing-a-trade-slot

Finding: Describing a trade slot in ui: trade window and loot roll verbs

A trade has seven slots, the seventh one the trade will not carry out. GetTradeTargetItemInfo(index) describes the partner's item in slot index (1 to 7) and GetTradePlayerItemInfo(index) the player's own; both raise Usage: Get<Side>ItemInfo(index) for a non-number. They return the item name, the icon path, the count, the quality (the record's quality when its field +0x2c is nonzero, else −1) and, for the partner only, 1 or nil for whether the active player can use the item. The last value is nil, or for slot 7 the enchant's name. An empty slot or an unknown item gives nil, nil, 0, 0, nil for the player's side and nil, nil, 0, 0, nil, nil for the partner's.

The derivation is in the doc.