C_DyeColor
namespaceavailable in: camelotStatus in wowlua
8 functions: 0 implemented, 0 recorded, 8 guessed. 2 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
GetAllDyeColorCategories | Returns the IDs of all dye color categories. · by wowlua(): number[] | guessed |
GetAllDyeColors | Returns the IDs of all dye colors. · by wowlua(ownedColorsOnly: boolean): number[] | guessed |
GetDyeColorCategoryInfo | Returns information about a dye color category. · by wowlua(dyeColorCategoryID: number): DyeColorCategoryDisplayInfo? | guessed |
GetDyeColorInfo | Returns information about a dye color. · by wowlua(dyeColorID: number): DyeColorDisplayInfo? | guessed |
GetDyeColorsForItem | Returns the IDs of the dye colors of an item. · by wowlua(itemLinkOrID: ItemInfo): number[] | guessed |
GetDyeColorsForItemLocation | Returns the IDs of the dye colors of the item at a location. · by wowlua(itemLocation: ItemLocationMixin): number[] | guessed |
GetDyeColorsInCategory | Returns the IDs of the dye colors in a dye color category. · by wowlua(dyeColorCategory: number, ownedColorsOnly: boolean): number[] | guessed |
IsDyeColorOwned | True if the player owns any of the consumable item used to apply the specified dye(dyeColorID: number): boolean | 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 |
|---|---|---|
DYE_COLOR_CATEGORY_UPDATED | dyeColorCategoryID: number | not implemented |
DYE_COLOR_UPDATED | dyeColorID: number | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("DYE_COLOR_CATEGORY_UPDATED").
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (DyeColorInfo system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.