benilla-re systems structs docs

s_targetTradeSuffixIds

global · ui

Address
0xb714b8 · 28 bytes, up to 0xb714d3
Type
uint32_t[7]
Meaning
Holds the random suffix ids of the partner's seven trade slot items
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.