C_ArtifactUI. GetAppearanceInfoByID
functionguessedavailable in: camelot
Returns information about a selected artifact appearance.
function C_ArtifactUI.GetAppearanceInfoByID( artifactAppearanceID: number): (number?, number?, string?, number?, boolean?, string?, number?, number?, number?, number?, number?, number?, number?, boolean?)Parameters
| name | type | description |
|---|---|---|
artifactAppearanceID | number | ArtifactAppearanceID |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | artifactAppearanceSetID | number? | The appearance set this appearance belongs to (from C_ArtifactUI.GetAppearanceSetInfo) |
| 2 | artifactAppearanceID | number? | ArtifactAppearanceID |
| 3 | appearanceName | string? | The name of the artifact weapon this appearance goes to |
| 4 | displayIndex | number? | The index of this appearance in its set, the same as the appearanceIndex that was entered |
| 5 | unlocked | boolean? | Whether this appearance has been unlocked |
| 6 | failureDescription | string? | The requirements for unlocking this appearance. Will return nil for the artifact's base appearance |
| 7 | uiCameraID | number? | |
| 8 | altHandCameraID | number? | |
| 9 | swatchColorR | number? | The red component of the appearance swatch button, between 0 and 1 |
| 10 | swatchColorG | number? | The green component of the appearance swatch button, between 0 and 1 |
| 11 | swatchColorB | number? | The red component of the appearance swatch button, between 0 and 1 |
| 12 | modelOpacity | number? | The alpha level (opacity) of the weapon in the Artifact UI, defaulted to 0.5 |
| 13 | modelSaturation | number? | The saturation level (brightness) of the weapon in the Artifact UI, defaulted to 0.5 |
| 14 | obtainable | boolean? | Whether the artifact's animation is being suppressed, defaulted to false |
Blizzard's documentation says it may return nothing.
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) (ArtifactUI system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.