C_ArtifactUI.GetAppearanceInfoByID

From Warcraft Wiki
Jump to navigation Jump to search

Returns information about a selected artifact appearance.

artifactAppearanceSetID, artifactAppearanceID, appearanceName, displayIndex, unlocked,
 failureDescription, uiCameraID, altHandCameraID, swatchColorR, swatchColorG, swatchColorB,
 modelOpacity, modelSaturation, obtainable
    = C_ArtifactUI.GetAppearanceInfoByID(artifactAppearanceID)

Arguments

artifactAppearanceID
number : ArtifactAppearanceID

Returns

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

Patch changes

Battle for Azeroth Patch 8.0.1 (2018-07-17): Added obtainable return.
Legion Patch 7.2.0 (2017-03-28): Added.

See also