Returns information about an inventory slot
Signature:
id, texture, checkRelic = GetInventorySlotInfo("slotName")
Arguments:
slotName- Name of an inventory slot to query (string)AmmoSlot- Ranged ammunition slotBackSlot- Back (cloak) slotBag0Slot- Backpack slotBag1Slot- First bag slotBag2Slot- Second bag slotBag3Slot- Third bag slotChestSlot- Chest slotFeetSlot- Feet (boots) slotFinger0Slot- First finger (ring) slotFinger1Slot- Second finger (ring) slotHandsSlot- Hand (gloves) slotHeadSlot- Head (helmet) slotLegsSlot- Legs (pants) slotMainHandSlot- Main hand weapon slotNeckSlot- Necklace slotRangedSlot- Ranged weapon or relic slotSecondaryHandSlot- Off-hand (weapon, shield, or held item) slotShirtSlot- Shirt slotShoulderSlot- Shoulder slotTabardSlot- Tabard slotTrinket0Slot- First trinket slotTrinket1Slot- Second trinket slotWaistSlot- Waist (belt) slotWristSlot- Wrist (bracers) slot
Returns:
id- The numeric slotId usable in other Inventory functions (number)texture- The path to the texture to be displayed when this slot is empty (string)checkRelic- 1 if the slot might be the relic slot; otherwise nil. The ranged slot token is re-used for the relic slot; if this return is 1,UnitHasRelicSlotshould be used to determine how the slot should be displayed. (1nil)