Script::GetInventoryItemLink
function · ui · orchestration
- Address
0x4c8c10· 385 bytes, up to0x4c8d90- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the item link 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 14
- ClntObjMgrGetActivePlayer objectlayer
- CanReadUnitInventory ui
- ReadInventorySlotArg ui
- GetUnitFromToken ui
- FormatItemLink ui
- ItemObjectLink ui
- DBCache_ItemStats_C_int_HASHKEY_INT_::GetRecord dbcache
- FormatItemName objectlayer
- CGPlayer_C::GetVisibleItem objectlayer
- GetItemInSlot objectlayer
- lua_isstring lua
- lua_tostring lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.