WoW:API GetContainerNumSlots

From AddOn Studio
Revision as of 00:04, 15 March 2006 by WoWWiki>Ebnusn
Jump to navigation Jump to search
GetContainerNumSlots -Documentation by Arvenis-


GetContainerNumSlots(bagID);


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

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

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

Details
Valid slot numbers are 0-4. 0 is the BackPack, 1 is the 2nd Bag and so on.



Template:WoW API