benilla-re systems structs docs

Script::GetTradeTargetItemLink

function · ui · primitive

Address
0x4c0360 · 238 bytes, up to 0x4c044d
Signature
int __fastcall (lua_State *L)
Meaning
Returns the partner's trade slot item link
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/tradelootverbs#trade-links-and-money

Finding: Trade links and money in ui: trade window and loot roll verbs

GetTradeTargetItemLink(index) and GetTradePlayerItemLink(index) return the item link text of a slot, or no value for an invalid index or an empty slot. GetPlayerTradeMoney() returns the own money offer, 0 with no trade window, and GetTargetTradeMoney() the partner's. The partner's link is formatted from the arrays above and two more of seven dwords: the permanent enchant (0xb715c0) and the unique id (0xb715a0).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 8

Calls and jumps by a bare address, from tables/calls.tsv.