v0.13.8

C_ArtifactUI.GetAppearanceInfoByID

functionguessedavailable in: camelot

Returns information about a selected artifact appearance.

signaturewowlua
function C_ArtifactUI.GetAppearanceInfoByID(    artifactAppearanceID: number): (number?, number?, string?, number?, boolean?, string?, number?, number?, number?, number?, number?, number?, number?, boolean?)

Parameters

nametypedescription
artifactAppearanceIDnumberArtifactAppearanceID

Returns

#nametypedescription
1artifactAppearanceSetIDnumber?The appearance set this appearance belongs to (from C_ArtifactUI.GetAppearanceSetInfo)
2artifactAppearanceIDnumber?ArtifactAppearanceID
3appearanceNamestring?The name of the artifact weapon this appearance goes to
4displayIndexnumber?The index of this appearance in its set, the same as the appearanceIndex that was entered
5unlockedboolean?Whether this appearance has been unlocked
6failureDescriptionstring?The requirements for unlocking this appearance. Will return nil for the artifact's base appearance
7uiCameraIDnumber?
8altHandCameraIDnumber?
9swatchColorRnumber?The red component of the appearance swatch button, between 0 and 1
10swatchColorGnumber?The green component of the appearance swatch button, between 0 and 1
11swatchColorBnumber?The red component of the appearance swatch button, between 0 and 1
12modelOpacitynumber?The alpha level (opacity) of the weapon in the Artifact UI, defaulted to 0.5
13modelSaturationnumber?The saturation level (brightness) of the weapon in the Artifact UI, defaulted to 0.5
14obtainableboolean?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 ↗.