API C_ArtifactUI.GetAppearanceInfoByID

From Wowpedia
Jump to: navigation, search

Returns information about a selected artifact appearance. Same as C_ArtifactUI.GetAppearanceInfo, except the specific ID is queried and the set ID is a returned value.

setID, appearanceID, appearanceName, displayIndex, appearanceUnlocked, unlockConditionText, uiCameraID, altHandUICameraID, swatchR, swatchG, swatchB, modelAlpha, modelDesaturation, suppressGlobalAnim = C_ArtifactUI.GetAppearanceInfoByID(appearanceID)

Arguments

appearanceID 
Number - identifier for the appearance

Returns

Index Value Type Details
1 setID Number The appearance set this appearance belongs to (from C_ArtifactUI.GetAppearanceSetInfo)
2 appearanceID Number The appearanceID
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 appearanceUnlocked Boolean Whether this appearance has been unlocked
6 unlockConditionText String The requirements for unlocking this appearance
7 uiCameraID Number <Unknown> Used by Model_ApplyUICamera
8 altHandUICameraID Number <Unknown> Used by Model_ApplyUICamera
9 swatchR Number The red component of the appearance swatch button, between 0 and 1
10 swatchG Number The green component of the appearance swatch button, between 0 and 1
11 swatchB Number The red component of the appearance swatch button, between 0 and 1
12 modelAlpha Number The alpha level (opacity) of the weapon in the Artifact UI, defaulted to 0.5
13 modelDesaturation Number The saturation level (brightness) of the weapon in the Artifact UI, defaulted to 0.5
14 suppressGlobalAnim Boolean Whether the artifact's animation is being suppressed, defaulted to false

Notes

  • unlockConditionText will return nil for the artifact's base appearance

Patch changes