Wikia

WoWWiki

Watchlist Recent changes

API GetContainerNumFreeSlots

Main Menue



Returns the total number of free slots in the bag an the type of items that can go into it specified by the index.

numberOfFreeSlots, BagType = GetContainerNumFreeSlots(bagID);

Parameters Edit

Arguments Edit

bagID
Integer - the slot containing the bag, e.g. 0 for backpack, etc.

Returns Edit

numberOfFreeSlots
Integer - the number of slots in the specified bag, or 0 if there is no bag in the given slot.
BagType
Integer - The type of the container

Pages on WoWWiki

94,195pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,622photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki