WoW API: GetInventoryItemGems

From AddOn Studio
Jump to navigation Jump to search

WoW API < GetInventoryItemGems

Returns item ids of the gems socketed in the item in the specified inventory slot.

gem1, gem2, ... = GetInventoryItemGems(invSlot);

Arguments[edit]

invSlot
Number (InventorySlotId) - Index of the inventory slot to query.

Returns[edit]

gem1, gem2, ...
Number - Item ID of the gem(s) socketed within the item in the queried slot.