C_SpellDiminish
namespaceavailable in: camelotStatus in wowlua
4 functions: 3 implemented, 0 recorded, 1 guessed. 1 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
GetAllSpellDiminishCategories | Returns information about all diminishing returns categories. · by wowlua(ruleset: SpellDiminishRuleset?): SpellDiminishCategoryInfo[] | implemented |
GetSpellDiminishCategoryInfo | Returns information about a diminishing returns category. · by wowlua(category: SpellDiminishCategory): SpellDiminishCategoryInfo? | implemented |
IsSystemSupported | Whether diminishing returns information is supported on this client. · by wowlua(): boolean | guessed |
ShouldTrackSpellDiminishCategory | Whether the given diminishing returns category should be tracked under the given ruleset. · by wowlua(category: SpellDiminishCategory, ruleset: SpellDiminishRuleset): boolean | implemented |
"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 |
|---|---|---|
UNIT_SPELL_DIMINISH_CATEGORY_STATE_UPDATED | unitTarget: string, trackerInfo: SpellDiminishTrackerInfo | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("UNIT_SPELL_DIMINISH_CATEGORY_STATE_UPDATED").
Structures
SpellDiminishCategoryInfo· category, name, icon?SpellDiminishTrackerInfo· category, startTime, duration, showCountdown, isImmune
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (SpellDiminishUI system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.