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
spellID | SpellIdentifier | Base spellID for spell, spellID for PetAction |
|---|
Returns
canBeBound | bool |
|---|
C_ClickBindings.ExecuteBinding
C_ClickBindings.ExecuteBinding(targetToken, button, modifiers)
Arguments
targetToken | cstring | |
|---|---|---|
button | cstring | |
modifiers | number |
C_ClickBindings.GetBindingType
type = C_ClickBindings.GetBindingType(button, modifiers)
Arguments
button | cstring | |
|---|---|---|
modifiers | number |
Returns
type | ClickBindingType |
|---|
C_ClickBindings.GetEffectiveInteractionButton
effectiveButton = C_ClickBindings.GetEffectiveInteractionButton(button, modifiers)
Arguments
button | cstring | |
|---|---|---|
modifiers | number |
Returns
effectiveButton | cstring |
|---|
C_ClickBindings.GetProfileInfo
infoVec = C_ClickBindings.GetProfileInfo()
Returns
infoVec | ClickBindingInfo[] |
|---|
C_ClickBindings.GetTutorialShown
tutorialShown = C_ClickBindings.GetTutorialShown()
Returns
tutorialShown | bool |
|---|
C_ClickBindings.ResetCurrentProfile
C_ClickBindings.ResetCurrentProfile()
C_ClickBindings.SetProfileByInfo
C_ClickBindings.SetProfileByInfo(infoVec)
Arguments
infoVec | ClickBindingInfo[] |
|---|
C_ClickBindings.SetTutorialShown
C_ClickBindings.SetTutorialShown()
Events
CLICKBINDINGS_SET_HIGHLIGHTS_SHOWN
showHighlights | bool |
|---|