RSS

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

IsEquippedAction

[ править ]
Returns whether an action contains an equipped item.
[клоны]
Returns whether an action contains an equipped item. Applies to actions involving equippable items (not to consumables or other items with "Use:" effects) and indicates the effect of performing the action: if an action's item is not equipped, using the action will equip it; if the item is equipped and has a "Use:" effect, using the action will activate said effect.

Signature:
Code
isEquipped = IsEquippedAction(slot)

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

Returns:
  • isEquipped - 1 if the action contains an equipped item; otherwise nil (1nil)

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