RSS

Понедельник, 06.05.2024, 02:29
Главная » WoW API » API Функции » Действия »

IsUsableAction

[ править ]
Returns whether an action is usable.
[клоны]
Returns whether an action is usable.

Signature:
Code
isUsable, notEnoughMana = IsUsableAction(slot)

Arguments:
  • slot - An action bar slot (number, actionID)

Returns:
  • isUsable - 1 if the action is usable; otherwise nil (1nil)
  • notEnoughMana - 1 if the player lacks the resources (e.g. mana, energy, runes) to use the action; otherwise nil (1nil)

Также смотрите: Действия , Action functions
Ссылки: http://wowprogramming.com/docs/api/IsUsableAction