Script::GetPlayerTradeMoney
function · ui · orchestration
- Address
0x4c0700· 67 bytes, up to0x4c0742- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the player's money offer, 0 with no trade window
- 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
- TradeGetPlayerMoney objectlayer
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.