WoW:API GetInventoryItemCount
Jump to navigation
Jump to search
GetInventoryItemCount("unit", slot);
Gets the quantity for an item in an Inventory Slot. Only known use for this is the ranged slot, for throwing weapons.
- Arguments
- (unit, slot)
- unit
- String - the string identifing where to get the slot info from
- slot
- Integer - the integer number of the inventory slot
- Returns
- Integer - the number of the item in the specified slot
- Example
itemCount = GetInventoryItemCount("player", index);