WoW:API GetContainerNumSlots: Difference between revisions

returns 0 if no bag present
m (linkified HasKey)
(returns 0 if no bag present)
Line 13: Line 13:


:; numberOfSlots
:; numberOfSlots
::: Integer - the number of slots in the specified bag.
::: Integer - the number of slots in the specified bag, or 0 if there is no bag in the given slot.


== Details ==
== Details ==


* In 1.11.2, it appears that with the Key Ring, GetContainerNumSlots(-2) always returns zero, regardless of whether [[API HasKey|HasKey]]() is true or false.
* In 1.11.2, it appears that with the Key Ring, GetContainerNumSlots(-2) always returns zero, regardless of whether [[API HasKey|HasKey]]() is true or false.
Anonymous user