WoW:API GetContainerNumSlots: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 33: Line 33:
<!-- Update the category to the appropriate subsection, and be sure to put the function name as the label for the category link. Multiple subcategories are okay if appropriate, please dont link functions to the API Functions category directly. -->
<!-- Update the category to the appropriate subsection, and be sure to put the function name as the label for the category link. Multiple subcategories are okay if appropriate, please dont link functions to the API Functions category directly. -->
[[World of Warcraft API#Inventory_Functions|Inventory Functions]]
[[World of Warcraft API#Inventory_Functions|Inventory Functions]]
[[Category:API Functions|GetContainerNumSlots]]
[[Category:API Container Functions|GetContainerNumSlots]]
[[Category:API Inventory Functions|GetContainerNumSlots]]
[[Category:API Inventory Functions|GetContainerNumSlots]]

Revision as of 17:45, 29 August 2005

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. 0 is the BackPack, 1 is the 2nd Bag and so on.

Template:WoW API : Inventory Functions