API C_ArtifactUI.GetArtifactInfo

From Wowpedia
Jump to: navigation, search

Returns information about the currently equipped artifact weapon.

itemID, altItemID, name, iconFileDataID, powerAvailable, ranksPurchased, quality, artifactAppearanceID, appearanceModID, itemAppearanceID, altItemAppearanceID, altOnTop = C_ArtifactUI.GetArtifactInfo()

Returns

Index Value Type Details
1 itemID Number Numeric ID of the main-hand weapon
2 altItemID Number Numeric ID of the off-hand weapon, or nil if there is none
3 name String Name of the weapon
4 iconFileDataID Number The fileID for the icon texture for the artifact
5 powerAvailable Number The artifact power available to this weapon
6 ranksPurchased Number The number of ranks that have been purchased (not granted by relics)
7 quality Number <Unknown>
8 artifactAppearanceID Number The currently active artifact appearanceID
9 appearanceModID Number <Unknown>
10 itemAppearanceID Number The transmogrification appearanceID used on the main-hand weapon
11 altItemAppearanceID Number The transmogrification appearanceID used on the off-hand weapon
12 altOnTop Boolean Whether the off-hand item is displayed

Notes

  • Values 3 and 11 only apply to artifacts that provide both a main-hand and an off-hand item (such as  [Felo'melorn]). Artifacts that are two-handed (with the exception of  [Odyn's Fury] and  [Helya's Wrath]) will return these values as 'nil'.
  • Values 10 and 11 will return 'nil' if no transmog has been applied to their corresponding items.
  • Values 3 through 7 are not explicitly named anywhere in Blizzard's API; their names are assumed based on their function

Patch changes