v0.13.8

C_ArtifactUI.GetArtifactInfo

functionguessedavailable in: camelot

Returns information about the currently equipped artifact weapon.

signaturewowlua
function C_ArtifactUI.GetArtifactInfo(): (number?, number?, string?, number?, number?, number?, number?, number?, number?, number?, number?, boolean?, ArtifactTiers?)

Returns

#nametypedescription
1itemIDnumber?Numeric ID of the main-hand weapon
2altItemIDnumber?Numeric ID of the off-hand weapon, or nil if there is none
3namestring?Name of the weapon
4iconnumber?The fileID for the icon texture for the artifact
5xpnumber?The artifact power available to this weapon
6pointsSpentnumber?The number of ranks that have been purchased (not granted by relics)
7qualitynumber?
8artifactAppearanceIDnumber?The currently active artifact appearanceID
9appearanceModIDnumber?
10itemAppearanceIDnumber?The transmogrification appearanceID used on the main-hand weapon
11altItemAppearanceIDnumber?The transmogrification appearanceID used on the off-hand weapon
12altOnTopboolean?Whether the off-hand item is displayed
13tierArtifactTiers?

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

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 ↗.