WowAddons

World of Warcraft Forever API · C_ClickBindings.md, for your AI

C_ClickBindings

9 functions, 1 events, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

C_ClickBindings.CanSpellBeClickBound

canBeBound = C_ClickBindings.CanSpellBeClickBound(spellID)

Arguments

spellIDSpellIdentifierBase spellID for spell, spellID for PetAction

Returns

canBeBoundbool

C_ClickBindings.ExecuteBinding

C_ClickBindings.ExecuteBinding(targetToken, button, modifiers)

Arguments

targetTokencstring
buttoncstring
modifiersnumber

C_ClickBindings.GetBindingType

type = C_ClickBindings.GetBindingType(button, modifiers)

Arguments

buttoncstring
modifiersnumber

Returns

typeClickBindingType

C_ClickBindings.GetEffectiveInteractionButton

effectiveButton = C_ClickBindings.GetEffectiveInteractionButton(button, modifiers)

Arguments

buttoncstring
modifiersnumber

Returns

effectiveButtoncstring

C_ClickBindings.GetProfileInfo

infoVec = C_ClickBindings.GetProfileInfo()

Returns

infoVecClickBindingInfo[]

C_ClickBindings.GetTutorialShown

tutorialShown = C_ClickBindings.GetTutorialShown()

Returns

tutorialShownbool

C_ClickBindings.ResetCurrentProfile

C_ClickBindings.ResetCurrentProfile()

C_ClickBindings.SetProfileByInfo

C_ClickBindings.SetProfileByInfo(infoVec)

Arguments

infoVecClickBindingInfo[]

C_ClickBindings.SetTutorialShown

C_ClickBindings.SetTutorialShown()

Events

CLICKBINDINGS_SET_HIGHLIGHTS_SHOWN

showHighlightsbool

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows