🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
#### Action Buttons [C\_ActionBar.FindPetActionButtons](https://wow.gamepedia.com/API_C_ActionBar.FindPetActionButtons "API C ActionBar.FindPetActionButtons")(petActionID) [C\_ActionBar.FindSpellActionButtons](https://wow.gamepedia.com/API_C_ActionBar.FindSpellActionButtons "API C ActionBar.FindSpellActionButtons")(spellID) [C\_ActionBar.GetPetActionPetBarIndices](https://wow.gamepedia.com/API_C_ActionBar.GetPetActionPetBarIndices "API C ActionBar.GetPetActionPetBarIndices")(petActionID) [C\_ActionBar.HasPetActionButtons](https://wow.gamepedia.com/API_C_ActionBar.HasPetActionButtons "API C ActionBar.HasPetActionButtons")(petActionID) [C\_ActionBar.HasPetActionPetBarIndices](https://wow.gamepedia.com/API_C_ActionBar.HasPetActionPetBarIndices "API C ActionBar.HasPetActionPetBarIndices")(petActionID) [C\_ActionBar.HasSpellActionButtons](https://wow.gamepedia.com/API_C_ActionBar.HasSpellActionButtons "API C ActionBar.HasSpellActionButtons")(spellID) [C\_ActionBar.IsAutoCastPetAction](https://wow.gamepedia.com/API_C_ActionBar.IsAutoCastPetAction "API C ActionBar.IsAutoCastPetAction")(slotID) [C\_ActionBar.IsEnabledAutoCastPetAction](https://wow.gamepedia.com/API_C_ActionBar.IsEnabledAutoCastPetAction "API C ActionBar.IsEnabledAutoCastPetAction")(slotID) [C\_ActionBar.ToggleAutoCastPetAction](https://wow.gamepedia.com/API_C_ActionBar.ToggleAutoCastPetAction "API C ActionBar.ToggleAutoCastPetAction")(slotID) [ActionHasRange](https://wow.gamepedia.com/API_ActionHasRange "API ActionHasRange")(slot) - 确定指定的操作是否为范围限制(如果是,则为1,如果不是,则为nil) [ClickWorldMapActionButton](https://wow.gamepedia.com/index.php?title=API_ClickWorldMapActionButton&action=edit&redlink=1 "API ClickWorldMapActionButton (page does not exist)")() [GetActionAutocast](https://wow.gamepedia.com/index.php?title=API_GetActionAutocast&action=edit&redlink=1 "API GetActionAutocast (page does not exist)")(slot) [GetActionCharges](https://wow.gamepedia.com/API_GetActionCharges "API GetActionCharges")(slot) - 返回有关累积电荷的玩家技能的电荷的信息 [GetActionCooldown](https://wow.gamepedia.com/API_GetActionCooldown "API GetActionCooldown")(slot) - 这将返回指定操作的冷却时间值 [GetActionCount](https://wow.gamepedia.com/API_GetActionCount "API GetActionCount")(slot) - 获取一个动作的计数(绷带/药水/等),如果不存在或不适用,则返回0 [GetActionInfo](https://wow.gamepedia.com/API_GetActionInfo "API GetActionInfo")(slot) - 返回type, id, subtype. [GetActionTexture](https://wow.gamepedia.com/API_GetActionTexture "API GetActionTexture")(slot) - 获取指定动作的纹理(texture)路径 [GetActionText](https://wow.gamepedia.com/API_GetActionText "API GetActionText")(slot) - 获取操作的文本标签(宏等),如果没有,则返回nil。 [GetAlternatePowerInfoByID](https://wow.gamepedia.com/index.php?title=API_GetAlternatePowerInfoByID&action=edit&redlink=1 "API GetAlternatePowerInfoByID (page does not exist)")(id) [GetPossessInfo](https://wow.gamepedia.com/API_GetPossessInfo "API GetPossessInfo")(index) - 返回 texture, name, enabled. [GetWorldMapActionButtonSpellInfo](https://wow.gamepedia.com/index.php?title=API_GetWorldMapActionButtonSpellInfo&action=edit&redlink=1 "API GetWorldMapActionButtonSpellInfo (page does not exist)")() [HasAction](https://wow.gamepedia.com/API_HasAction "API HasAction")(slot) - 如果玩家在指定的插槽中有操作,则返回1,否则返回nil [IsActionInRange](https://wow.gamepedia.com/API_IsActionInRange "API IsActionInRange")(slot) - 测试动作是否在范围内(1 =是,0 =否,nil =不适用) [IsAttackAction](https://wow.gamepedia.com/API_IsAttackAction "API IsAttackAction")(slot) -如果一个动作是“攻击”动作(在战斗中闪烁),返回1,否则返回nil [IsAutoRepeatAction](https://wow.gamepedia.com/API_IsAutoRepeatAction "API IsAutoRepeatAction")(slot) - 如果操作是自动重复的,则返回1,否则返回nil。 [IsConsumableAction](https://wow.gamepedia.com/API_IsConsumableAction "API IsConsumableAction")(slot) - 如果一个动作是可消费的(即有一个计数),返回1,否则返回nil。 [IsCurrentAction](https://wow.gamepedia.com/API_IsCurrentAction "API IsCurrentAction")(slot) - 如果一个动作是当前正在执行的,则返回1,否则返回nil。 [IsEquippedAction](https://wow.gamepedia.com/API_IsEquippedAction "API IsEquippedAction")(slot) - 如果一个动作被装备(即连接到一个必须装备的物品),返回1,否则返回nil。 [IsItemAction](https://wow.gamepedia.com/index.php?title=API_IsItemAction&action=edit&redlink=1 "API IsItemAction (page does not exist)")(slot) [IsPetAttackAction](https://wow.gamepedia.com/index.php?title=API_IsPetAttackAction&action=edit&redlink=1 "API IsPetAttackAction (page does not exist)")(index) [IsStackableAction](https://wow.gamepedia.com/index.php?title=API_IsStackableAction&action=edit&redlink=1 "API IsStackableAction (page does not exist)")(slot) [IsUsableAction](https://wow.gamepedia.com/API_IsUsableAction "API IsUsableAction")(slot) - 如果一个动作当前可以使用,则返回1,否则返回nil [SetActionUIButton](https://wow.gamepedia.com/index.php?title=API_SetActionUIButton&action=edit&redlink=1 "API SetActionUIButton (page does not exist)")(checkboxFrame, actionSlot, cooldownFrame) [SetSpellbookPetAction](https://wow.gamepedia.com/index.php?title=API_SetSpellbookPetAction&action=edit&redlink=1 "API SetSpellbookPetAction (page does not exist)")(slot, target) PROTECTED[UseAction](https://wow.gamepedia.com/API_UseAction "API UseAction")(slot\[, checkCursor\[, onSelf\]\]) - 这指示接口可选地在播放器上使用与指定ID关联的操作(与目标无关)。 [UseWorldMapActionButtonSpellOnQuest](https://wow.gamepedia.com/index.php?title=API_UseWorldMapActionButtonSpellOnQuest&action=edit&redlink=1 "API UseWorldMapActionButtonSpellOnQuest (page does not exist)")() ## 这些函数与弹出按钮有关 [C\_ActionBar.FindFlyoutActionButtons](https://wow.gamepedia.com/API_C_ActionBar.FindFlyoutActionButtons "API C ActionBar.FindFlyoutActionButtons")(flyoutID) [C\_ActionBar.HasFlyoutActionButtons](https://wow.gamepedia.com/API_C_ActionBar.HasFlyoutActionButtons "API C ActionBar.HasFlyoutActionButtons")(flyoutID) [FindFlyoutSlotBySpellID](https://wow.gamepedia.com/index.php?title=API_FindFlyoutSlotBySpellID&action=edit&redlink=1 "API FindFlyoutSlotBySpellID (page does not exist)")(spellID) [FlyoutHasSpell](https://wow.gamepedia.com/API_FlyoutHasSpell "API FlyoutHasSpell")(flyoutID, spellID) [GetFlyoutID](https://wow.gamepedia.com/index.php?title=API_GetFlyoutID&action=edit&redlink=1 "API GetFlyoutID (page does not exist)")(index) [GetFlyoutInfo](https://wow.gamepedia.com/index.php?title=API_GetFlyoutInfo&action=edit&redlink=1 "API GetFlyoutInfo (page does not exist)")(flyoutID) [GetFlyoutSlotInfo](https://wow.gamepedia.com/index.php?title=API_GetFlyoutSlotInfo&action=edit&redlink=1 "API GetFlyoutSlotInfo (page does not exist)")(flyoutID, slot) [GetNumFlyouts](https://wow.gamepedia.com/index.php?title=API_GetNumFlyouts&action=edit&redlink=1 "API GetNumFlyouts (page does not exist)")()