v0.13.8

C_ArtifactUI

namespaceavailable in: camelot

Status in wowlua

62 functions: 0 implemented, 2 recorded, 60 guessed. 10 events, 1 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
AddPowerSpends a point on the artifact power. · by wowlua
(powerID: number): boolean
guessed
ApplyCursorRelicToSlotPuts the relic on the cursor into the artifact's relic slot. · by wowlua
(relicSlotIndex: number)
guessed
CanApplyArtifactRelicWhether the relic fits the artifact. · by wowlua
(relicItemID: number, onlyUnlocked: boolean): boolean
guessed
CanApplyCursorRelicToSlotWhether the relic on the cursor fits the artifact's relic slot. · by wowlua
(relicSlotIndex: number): boolean
guessed
CanApplyRelicItemIDToEquippedArtifactSlotWhether the relic fits the equipped artifact's relic slot. · by wowlua
(relicItemID: number, relicSlotIndex: number): boolean
guessed
CanApplyRelicItemIDToSlotWhether the relic fits the artifact's relic slot. · by wowlua
(relicItemID: number, relicSlotIndex: number): boolean
guessed
CheckRespecNPCWhether the player is at an NPC that resets artifact powers. · by wowlua
(): boolean
guessed
ClearClears data of the last opened artifact weapon.
()
guessed
ClearForgeCameraResets the camera of the artifact forge. · by wowlua
()
guessed
ConfirmRespecConfirms resetting the artifact's powers. · by wowlua
()
guessed
DoesEquippedArtifactHaveAnyRelicsSlottedWhether the equipped artifact has a relic in any slot. · by wowlua
(): boolean
guessed
GetAppearanceInfoReturns information about a selected artifact appearance.
(appearanceSetIndex: number, appearanceIndex: number): (number?, string?, number?, boolean?, string?, number?, number?, number?, number?, number?, number?, number?, boolean?)
guessed
GetAppearanceInfoByIDReturns information about a selected artifact appearance.
(artifactAppearanceID: number): (number?, number?, string?, number?, boolean?, string?, number?, number?, number?, number?, number?, number?, number?, boolean?)
guessed
GetAppearanceSetInfoReturns information about the artifact's appearance set. · by wowlua
(appearanceSetIndex: number): (number?, string?, string?, number?)
guessed
GetArtifactArtInfoReturns information about the currently equipped artifact weapon.
(): ArtifactArtInfo?
guessed
GetArtifactInfoReturns information about the currently equipped artifact weapon.
(): (number?, number?, string?, number?, number?, number?, number?, number?, number?, number?, number?, boolean?, ArtifactTiers?)
guessed
GetArtifactItemIDReturns the item ID of the artifact being viewed. · by wowlua
(): number?
guessed
GetArtifactTierReturns the tier number for your artifact at the forge.
(): ArtifactTiers?
guessed
GetArtifactXPRewardTargetInfoReturns the name and icon of the artifact that gets the artifact power reward of the category. · by wowlua
(artifactCategoryID: number): (string?, number?)
guessed
GetCostForPointAtRankReturns the artifact power a point costs at the rank. · by wowlua
(rank: number, tier: ArtifactTiers): number
guessed
GetEquippedArtifactArtInfoReturns the art of the equipped artifact. · by wowlua
(): ArtifactArtInfo?
guessed
GetEquippedArtifactInfoReturns information about the equipped artifact. · by wowlua
(): (number?, number?, string?, number?, number?, number?, number?, number?, number?, number?, number?, boolean?, ArtifactTiers?)
recorded
GetEquippedArtifactItemIDReturns the item ID of the equipped artifact. · by wowlua
(): number?
guessed
GetEquippedArtifactNumRelicSlotsReturns the number of relic slots of the equipped artifact. · by wowlua
(onlyUnlocked: boolean): number
guessed
GetEquippedArtifactRelicInfoReturns information about the relic in the equipped artifact's slot. · by wowlua
(relicSlotIndex: number): (string?, number?, string?, string?)
guessed
GetEquippedRelicLockedReasonReturns why the equipped artifact's relic slot is locked, or nil when it is not. · by wowlua
(relicSlotIndex: number): string?
guessed
GetForgeRotationReturns the rotation of the artifact shown at the forge. · by wowlua
(): (number, number, number)
guessed
GetItemLevelIncreaseProvidedByRelicReturns how much item level the relic adds to an artifact. · by wowlua
(itemLinkOrID: ItemInfo): number?
guessed
GetMetaPowerInfoReturns information about the artifact's final power. · by wowlua
(): (number, number, number)
guessed
GetNumAppearanceSetsReturns the number of the artifact's appearance sets. · by wowlua
(): number
guessed
GetNumObtainedArtifactsReturns the number of artifacts the player has obtained. · by wowlua
(): number
guessed
GetNumRelicSlotsReturns the number of relic slots of the artifact being viewed. · by wowlua
(onlyUnlocked: boolean): number
guessed
GetPointsRemainingReturns the number of points the artifact has left to spend. · by wowlua
(): number
guessed
GetPowerHyperlinkReturns a chat link to the artifact power. · by wowlua
(powerID: number): string
guessed
GetPowerInfoReturns information about the artifact power. · by wowlua
(powerID: number): ArtifactPowerInfo?
guessed
GetPowerLinksReturns the IDs of the powers connected to the artifact power. · by wowlua
(powerID: number): number[]
guessed
GetPowersReturns the IDs of the artifact's powers. · by wowlua
(): number[]?
guessed
GetPowersAffectedByRelicReturns the IDs of the powers the relic in the slot improves. · by wowlua
(relicSlotIndex: number): number
guessed
GetPowersAffectedByRelicItemLinkReturns the IDs of the powers the relic improves. · by wowlua
(relicItemInfo: ItemInfo): number
guessed
GetPreviewAppearanceReturns the ID of the artifact appearance being previewed. · by wowlua
(): number?
guessed
GetRelicInfoReturns information about the relic in the artifact's slot. · by wowlua
(relicSlotIndex: number): (string?, number?, string?, string?)
guessed
GetRelicInfoByItemIDReturns information about the relic. · by wowlua
(itemID: number): (string?, number?, string?, string?)
guessed
GetRelicLockedReasonReturns why the artifact's relic slot is locked, or nil when it is not. · by wowlua
(relicSlotIndex: number): string?
guessed
GetRelicSlotTypeReturns the type of relic the artifact's slot takes. · by wowlua
(relicSlotIndex: number): string?
guessed
GetRespecArtifactArtInfoReturns the art of the artifact whose powers are being reset. · by wowlua
(): ArtifactArtInfo?
guessed
GetRespecArtifactInfoReturns information about the artifact whose powers are being reset. · by wowlua
(): (number?, number?, string?, number?, number?, number?, number?, number?, number?, number?, number?, boolean?, ArtifactTiers?)
guessed
GetRespecCostReturns the cost of resetting the artifact's powers. · by wowlua
(): number
guessed
GetTotalPowerCostReturns the total artifact power the traits cost from the starting rank on. · by wowlua
(startingTrait: number, numTraits: number, artifactTier: ArtifactTiers): number?
guessed
GetTotalPurchasedRanksReturns the total number of ranks purchased for an artifact weapon.
(): number
guessed
IsArtifactDisabledWhether the artifact being viewed is disabled. · by wowlua
(): boolean
guessed
IsArtifactItemWhether the item is an artifact. · by wowlua
(itemLocation: ItemLocationMixin): boolean
guessed
IsAtForgeWhether the player is at an artifact forge. · by wowlua
(): boolean
recorded
IsEquippedArtifactDisabledWhether the equipped artifact is disabled. · by wowlua
(): boolean
guessed
IsEquippedArtifactMaxedWhether the equipped artifact has all its powers. · by wowlua
(): boolean
guessed
IsMaxedByRulesOrEffectWhether the artifact can gain no more powers. · by wowlua
(): boolean
guessed
IsPowerKnownWhether the artifact has the power. · by wowlua
(powerID: number): boolean
guessed
IsViewedArtifactEquippedWhether the artifact being viewed is equipped. · by wowlua
(): boolean
guessed
SetAppearanceSets the artifact's appearance. · by wowlua
(artifactAppearanceID: number)
guessed
SetForgeCameraSets the camera to the artifact forge's view. · by wowlua
()
guessed
SetForgeRotationSets the rotation of the artifact shown at the forge. · by wowlua
(forgeRotationX: number, forgeRotationY: number, forgeRotationZ: number)
guessed
SetPreviewAppearanceCall without an argument to clear the preview.
(artifactAppearanceID: number)
guessed
ShouldSuppressForgeRotationWhether the artifact shown at the forge should not rotate. · by wowlua
(): boolean
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
ARTIFACT_CLOSEno payloadimplemented
ARTIFACT_ENDGAME_REFUNDnumRefundedPowers: number, refundedTier: ArtifactTiers, bagOrSlotIndex: number, slotIndex: number?not implemented
ARTIFACT_RELIC_FORGE_CLOSEno payloadnot implemented
ARTIFACT_RELIC_FORGE_PREVIEW_RELIC_CHANGEDno payloadnot implemented
ARTIFACT_RELIC_FORGE_UPDATEno payloadnot implemented
ARTIFACT_RELIC_INFO_RECEIVEDno payloadnot implemented
ARTIFACT_RESPEC_PROMPTno payloadnot implemented
ARTIFACT_TIER_CHANGEDnewTier: number, bagOrSlotIndex: number, slotIndex: number?not implemented
ARTIFACT_UPDATEnewItem: booleannot implemented
ARTIFACT_XP_UPDATEno payloadnot implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("ARTIFACT_ENDGAME_REFUND").

Structures

  • ArtifactAppearanceInfo · artifactAppearanceID, appearanceName, displayIndex, unlocked, failureDescription?, uiCameraID, altHandCameraID?, swatchColor, modelOpacity, modelSaturation, obtainable
  • ArtifactAppearanceSetInfo · artifactAppearanceSetID, appearanceSetName, appearanceSetDescription, numAppearances
  • ArtifactArtInfo · textureKit, titleName, titleColor, barConnectedColor, barDisconnectedColor, uiModelSceneID, spellVisualKitID
  • ArtifactInfo · itemID, altItemID?, name, icon, xp, pointsSpent, quality, artifactAppearanceID, appearanceModID, itemAppearanceID?, altItemAppearanceID?, altOnTop, tier
  • ArtifactMetaPowerInfo · spellID, powerCost, currentRank
  • ArtifactPowerInfo · spellID, cost, currentRank, maxRank, bonusRanks, numMaxRankBonusFromTier, prereqsMet, isStart, isGoldMedal, isFinal, tier, position, offset?, linearIndex?
  • ArtifactRelicInfo · name, icon, slotTypeName, link

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ArtifactUI system, camelot 1.60.1). Descriptions: Blizzard's API documentation (Blizzard_APIDocumentationGenerated); warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.