Files
wow_Meta/api/GetInventoryItemID.lua
2025-05-04 15:15:00 +02:00

9 lines
494 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param unit string
---@param slot number
---@return itemID id
---Returns the item ID of an equipped item. The results of this function can be used with GetInventorySlotInfo() and other related inventory functions. If the player beign /inspected has used transmorgification on the slot, then the itemID of the transmorgified item is what is returned, not the actual item equipped.
function GetInventoryItemID(unit, slot) end