Script::GetTradePlayerItemLink
function · ui · primitive
- Address
0x4c0650· 129 bytes, up to0x4c06d0- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the player's own 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 7
- __ftol crt
- ClntObjMgrObjectPtr objectlayer
- ItemObjectLink ui
- lua_isnumber lua
- lua_tonumber lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.