benilla-re systems structs docs

Script::GetInventoryItemQuality

function · ui · orchestration

Address
0x4c88d0 · 398 bytes, up to 0x4c8a5d
Signature
int __fastcall (lua_State *L)
Meaning
Returns the quality 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 11

Calls and jumps by a bare address, from tables/calls.tsv.