Script::GetLootSlotLink
function · ui · primitive
- Address
0x4c2d20· 102 bytes, up to0x4c2d85- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the item link of a loot slot, or nil
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/loot#item-link-and-name
Finding: Item link and name in ui: the loot window
GetLootSlotLink(slot) pushes the link of the row, |Hitem:<entry>:0:<random property>:<link number>|h[<name>]|h with the
quality colour and |r, and pushes one nil on a miss or an uncached item: the worker 0x4c2670 returns null (0x4c272e), 0x4c2d77 passes it to
0x6f3890, which pushes nil for null, and 0x4c2d7c returns 1. The enchantment id is always 0. The name
uses the same suffix join as the row text. The link number is the value of wire entry +0x0c.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 6
- __ftol crt
- GetLootRowLink ui
- lua_isnumber lua
- lua_tonumber lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.