---@diagnostic disable: missing-return, lowercase-global ---@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