v0.13.8

C_ColorOverrides

namespaceavailable in: camelot

Status in wowlua

6 functions: 1 implemented, 1 recorded, 4 guessed. 2 events, 0 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
ClearColorOverridesRemoves all color overrides, so the default colors are used again. · by wowlua
()
guessed
GetColorForQualityReturns the color of an item quality, with the player's color override if set. · by wowlua
(quality: ItemQuality): ColorMixin
implemented
GetColorOverrideInfoReturns the color override set for an override type, or nil. · by wowlua
(overrideType: ColorOverride): ColorOverrideInfo?
recorded
GetDefaultColorForQualityReturns the default color of an item quality, ignoring color overrides. · by wowlua
(quality: ItemQuality): ColorMixin
guessed
RemoveColorOverrideRemoves a color override, so the default color is used again. · by wowlua
(overrideType: ColorOverride)
guessed
SetColorOverrideSets 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

eventpayloadfired by the emulator
COLOR_OVERRIDES_RESETno payloadnot implemented
COLOR_OVERRIDE_UPDATEDoverrideType: ColorOverridenot 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.