C_ClickBindings
namespaceavailable in: camelotStatus in wowlua
9 functions: 2 implemented, 3 recorded, 4 guessed. 1 events, 1 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
CanSpellBeClickBound | Whether the spell can be bound to a mouse click on unit frames. · by wowlua(spellID: SpellIdentifier): boolean | recorded |
ExecuteBinding | Performs the click binding of a mouse button and modifiers on a unit. · by wowlua(targetToken: string, button: string, modifiers: number) | guessed |
GetBindingType | Returns what a mouse button and modifiers are bound to on unit frames, such as a spell, a macro or an interaction. · by wowlua(button: string, modifiers: number): ClickBindingType | implemented |
GetEffectiveInteractionButton | Returns the mouse button that performs the unit frames' interaction for the button and modifiers. · by wowlua(button: string, modifiers: number): string | implemented |
GetProfileInfo | Returns the click bindings of the current profile. · by wowlua(): ClickBindingInfo[] | recorded |
GetTutorialShown | Whether the click bindings tutorial has been shown. · by wowlua(): boolean | recorded |
ResetCurrentProfile | Resets the current click bindings profile to its defaults. · by wowlua() | guessed |
SetProfileByInfo | Replaces the current profile's click bindings. · by wowlua(infoVec: ClickBindingInfo[]) | guessed |
SetTutorialShown | Marks the click bindings tutorial as shown. · by wowlua() | guessed |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
Events
| event | payload | fired by the emulator |
|---|---|---|
CLICKBINDINGS_SET_HIGHLIGHTS_SHOWN | showHighlights: boolean | implemented |
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ClickBindings system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.