WoW API: GetInventoryItemGems
← WoW API < GetInventoryItemGems
Returns item ids of the gems socketed in the item in the specified inventory slot.
gem1, gem2, ... = GetInventoryItemGems(invSlot);
ArgumentsEdit
- invSlot
- Number (InventorySlotId) - Index of the inventory slot to query.
ReturnsEdit
- gem1, gem2, ...
- Number - Item ID of the gem(s) socketed within the item in the queried slot.