WoW API: GetInventoryItemGems

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetInventoryItemGems to API GetInventoryItemGems without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.