C_ColorOverrides
namespaceavailable in: camelotStatus in wowlua
6 functions: 1 implemented, 1 recorded, 4 guessed. 2 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
ClearColorOverrides | Removes all color overrides, so the default colors are used again. · by wowlua() | guessed |
GetColorForQuality | Returns the color of an item quality, with the player's color override if set. · by wowlua(quality: ItemQuality): ColorMixin | implemented |
GetColorOverrideInfo | Returns the color override set for an override type, or nil. · by wowlua(overrideType: ColorOverride): ColorOverrideInfo? | recorded |
GetDefaultColorForQuality | Returns the default color of an item quality, ignoring color overrides. · by wowlua(quality: ItemQuality): ColorMixin | guessed |
RemoveColorOverride | Removes a color override, so the default color is used again. · by wowlua(overrideType: ColorOverride) | guessed |
SetColorOverride | Sets a color override. · by wowlua(overrideType: ColorOverride, color: ColorMixin) | 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 |
|---|---|---|
COLOR_OVERRIDES_RESET | no payload | not implemented |
COLOR_OVERRIDE_UPDATED | overrideType: ColorOverride | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("COLOR_OVERRIDES_RESET").
Structures
ColorOverrideInfo· overrideType, overrideColor, overrideColorString
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ColorOverrides system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.