C_CooldownViewer
namespaceavailable in: camelotStatus in wowlua
7 functions: 3 implemented, 0 recorded, 4 guessed. 3 events, 1 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
GetCooldownViewerCategorySet | Returns the cooldown IDs in a category of the Cooldown Manager. · by wowlua(category: CooldownViewerCategory, allowUnlearned: boolean): number[] | implemented |
GetCooldownViewerCooldownInfo | Returns information about a cooldown of the Cooldown Manager. · by wowlua(cooldownID: number): CooldownViewerCooldown? | implemented |
GetGroupBuffItems | Returns the group buff items of the Cooldown Manager. · by wowlua(): GroupBuffItem[] | implemented |
GetLayoutData | Returns the saved Cooldown Manager layouts as a string. · by wowlua(): string | guessed |
GetValidAlertTypes | Returns the alert types a cooldown can use. · by wowlua(cooldownID: number): CooldownViewerAlertEventType[] | guessed |
IsCooldownViewerAvailable | Whether the Cooldown Manager is available, and the reason when it isn't. · by wowlua(): (boolean, string) | guessed |
SetLayoutData | Saves the Cooldown Manager layouts from a string. · by wowlua(data: string) | 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 |
|---|---|---|
COOLDOWN_VIEWER_DATA_LOADED | no payload | implemented |
COOLDOWN_VIEWER_SPELL_OVERRIDE_UPDATED | baseSpellID: number, overrideSpellID: number? | not implemented |
COOLDOWN_VIEWER_TABLE_HOTFIXED | no payload | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("COOLDOWN_VIEWER_SPELL_OVERRIDE_UPDATED").
Structures
CooldownViewerCooldown· cooldownID, spellID?, spellCategoryID?, overrideSpellID?, overrideTooltipSpellID?, equipSlot?, buffSlot?, linkedSpellIDs, selfAura, hasAura, charges, isKnown, isInvisible, flags, categoryGroupBuffItem· spellID, displaySpellID, name, iconID, flags, isKnown
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (CooldownViewer system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.