Returns the bagID and slotIndex from an itemID, or nil if the item is not in the player's inventory. Returns on the first occurrence of the item.
bagID
slotIndex
itemID
local itemID = 17; local bagID, slotIndex = LibInventoryHelper.GetBagAndSlotFromItemID(itemID);
There was an error while loading. Please reload this page.