WoW:API GetContainerNumSlots

From AddOn Studio
Revision as of 21:12, 6 March 2005 by WoWWiki>Arvenis
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
GetContainerNumSlots -Documentation by Arvenis-


GetContainerNumSlots(index);


Gives you the number of slots available in the bag specified by the index.

Arguments
(index)
index
Integer - the slot containing the bag.

Returns
numberOfSlots
numberOfSlots
Integer - the number of slots in a bag.

Details
Valid slot numbers are 0-4, numbered from left to right including the backpack.

Template:WoW API : Inventory Functions