Wikia

WoWWiki

API GetContainerNumFreeSlots

Talk0
98,518pages on
this wiki

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

Arguments

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

Returns

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
Advertisement | Your ad here

Photos

Add a Photo
62,044photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki