v0.13.8

C_DyeColor.GetDyeColorInfo

functionguessedavailable in: camelot

Returns information about a dye color. · description by wowlua

signaturewowlua
function C_DyeColor.GetDyeColorInfo(    dyeColorID: number): DyeColorDisplayInfo?

Parameters

nametype
dyeColorIDnumber

Returns

dyeColorInfo · DyeColorDisplayInfo?

DyeColorDisplayInfo
fieldtypedescription
IDnumber
dyeColorCategoryIDnumber
namestring
sortOrdernumber
swatchColorStartColorMixin
swatchColorEndColorMixin
itemIDnumber?The consumable item used to apply this Dye Color; May be nil if dye color does not have an associated item
numOwnednumberThe number of this dye's consumable item owned by the player; Includes both held and banked items; Will be 0 if dye has no associated item

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (DyeColorInfo system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.