Wowpedia
Wowpedia
229,883
pages
(Created page with '{{wowapi}} Returns the item id of the item in a particular container slot. itemId = GetContainerItemID(bag, slot); == Arguments == ; bag : Number (BagId) - Index of the bag…')
 
m (bagId -> bagID)
Tag: WoW API docs
 
Line 4: Line 4:
   
 
== Arguments ==
 
== Arguments ==
; bag : Number ([[BagId]]) - Index of the bag to query.
+
; bag : Number ([[BagID]]) - Index of the bag to query.
 
; slot : Number - Index of the slot within the bag to query; ascending from 1.
 
; slot : Number - Index of the slot within the bag to query; ascending from 1.
   

Latest revision as of 04:48, 29 February 2020

Game Flavors
Links
Patch
Added in 3.0.2 / 1.13.2

Returns the item id of the item in a particular container slot.

itemId = GetContainerItemID(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

itemId 
Number - item ID of the item held in the container slot, nil if there is no item in the container slot.