Script::GetInventoryItemTexture
function · ui · orchestration
- Address
0x4c82a0· 579 bytes, up to0x4c84e2- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the icon path of the item a unit wears in a slot
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/inventoryverbs#texture-quality-and-link
Finding: Texture, quality and link in ui: inventory, container, bank and vendor getters
GetInventoryItemTexture returns the item's inventory icon path (directory, a backslash when it is nonempty, icon), from the
item in the slot of the player's own inventory or, for another player, from the visible item block of the slot (the display id
of its entry). GetInventoryItemQuality returns the record's quality when its inventory type is nonzero, else -1. GetInventoryItemLink
returns the item link, from the item object for the player and from the visible item block (entry, random property) for another
player.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 19
- ClntObjMgrGetActivePlayer objectlayer
- CanReadUnitInventory ui
- ReadInventorySlotArg ui
- GetUnitFromToken ui
- ClientDBStringLookup unassigned
- DBCache_ItemStats_C_int_HASHKEY_INT_::GetRecord dbcache
- GetInventoryIconByDisplayId objectlayer
- GetItemDisplayId objectlayer
- CGPlayer_C::GetVisibleItem objectlayer
- CGObject_C::IsReleased objectlayer
- CountInventoryItemsByEntry objectlayer
- GetItemInSlot objectlayer
- GetItemDescDisplayId objectlayer
- SStrPrintf storm
- lua_isstring lua
- lua_tostring lua
- lua_pushnil lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.