C_ArtifactUI. GetArtifactInfo
functionguessedavailable in: camelot
Returns information about the currently equipped artifact weapon.
function C_ArtifactUI.GetArtifactInfo(): (number?, number?, string?, number?, number?, number?, number?, number?, number?, number?, number?, boolean?, ArtifactTiers?)Returns
| # | name | type | description |
|---|---|---|---|
| 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 | icon | number? | The fileID for the icon texture for the artifact |
| 5 | xp | number? | The artifact power available to this weapon |
| 6 | pointsSpent | number? | The number of ranks that have been purchased (not granted by relics) |
| 7 | quality | number? | |
| 8 | artifactAppearanceID | number? | The currently active artifact appearanceID |
| 9 | appearanceModID | number? | |
| 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 |
| 13 | tier | ArtifactTiers? |
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 ↗.