API GetContainerItemGems

104,553pages on
this wiki
Add New Page
Add New Page Talk0
WoW API < GetContainerItemGems

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

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

Arguments Edit

Number (BagId) - Index of the bag to query.
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.

Also on Fandom

Random Wiki