GetLootRowLink
function · ui · primitive
- Address
0x4c2670· 201 bytes, up to0x4c2738- Signature
int __fastcall (int slot, char *dst, int size)- Meaning
- Builds the item link of a loot slot from the cached record, 0 on a miss
- Confidence
- verified, proof one
- 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 1
Callees 4
- FormatItemLink ui
- DBCache_ItemStats_C_int_HASHKEY_INT_::GetRecord dbcache
- FormatItemName objectlayer
- SStrCopy storm
Calls and jumps by a bare address, from tables/calls.tsv.