WoW API: GetContainerItemGems

Revision as of 23:00, 26 March 2010 by WoWWiki>Starlightblunder (Created page with '{{wowapi}} Returns the item IDs of the gems inserted into the item in a specified container slot. gem1, gem2, ... = GetContainerItemGems(bag, slot); == Arguments == ; bag : Num…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < GetContainerItemGems

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

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

Arguments

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

Returns

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