s_lootIconPath
global · ui
- Address
0xb71840· 260 bytes, up to0xb71943- Type
char[260]- Meaning
- Holds the icon path text the loot window builds for a row or the coin row
- Confidence
- verified, proof one
- Finding
- ui/loot#loot-lua-reads
Finding: Loot Lua reads in ui: the loot window
GetNumLootItems() is the count above. GetLootSlotInfo(slot) (1-based, no range check) always returns four values:
icon path, name, stack count and quality. A closed window or a slot out of range gives a nil icon, an empty name, 0
and 0; a cleared row or an uncached item gives quality -1. The coin row gives the coin icon, the money text, 0 and 0.
An item row gives its icon (or INV_Misc_QuestionMark), its name with the random suffix
(ui/auctionmessages#item-names-in-messages), the count and the cache's quality. LootSlotIsItem and
LootSlotIsCoin return the number 1 or nil. A non-number raises Usage: GetLootSlotInfo(slot).
The derivation is in the doc.