benilla-re systems structs docs

Script::GetTargetTradeMoney

function · ui · orchestration

Address
0x4c0750 · 50 bytes, up to 0x4c0781
Signature
int __fastcall (lua_State *L)
Meaning
Returns the partner's money offer
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 2

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