WoW API: GetContainerItemGems

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetContainerItemGems to API GetContainerItemGems without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetContainerItemGems

Returns item IDs of gems inserted into the item in a specified container slot.

gem1, gem2, ... = GetContainerItemGems(bag, slot);

Arguments[edit]

bag
Number (BagId) - Index of the bag to query.
slot
Number - Index of the slot within the bag to query, ascending from 1.

Returns[edit]

gem1, gem2, ...
Number - Item IDs of the gems within the item in the specified container slot.