WoW:API GetActionCount: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 8: Line 8:
:(actionSlot)
:(actionSlot)


:;actionSlot : Numeric - The slot number of the action to query.
:;actionSlot : Number - The slot number of the action to query.
=== Returns ===
=== Returns ===
:text
:count
 
:;count : Number If the action has a count (such as potion actions), then the count for the action is returned. 0 is returned for slots with no count as well as empty slots.
 
== See Also ==
* [[API IsConsumableAction|IsConsumableAction(slot)]] to determine whether '0' means that there are no more charges of the item, or whether it simply doesn't have a count.


:;count : Numeric - If the action has a count (such as potion actions), then the count for the action is returned. 0 is returned for slots with no count as well as empty slots.
----
----
__NOTOC__
__NOTOC__
{{Template:WoW API}}
{{Template:WoW API}}
Anonymous user