C_AzeriteEmpoweredItem
namespaceavailable in: camelotStatus in wowlua
18 functions: 1 implemented, 0 recorded, 17 guessed. 2 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
CanSelectPower | Whether the Azerite power can be selected on the item. · by wowlua(azeriteEmpoweredItemLocation: ItemLocationMixin, powerID: number): boolean | guessed |
ConfirmAzeriteEmpoweredItemRespec | Confirms resetting the Azerite powers selected on the item. · by wowlua(azeriteEmpoweredItemLocation: ItemLocationMixin) | guessed |
GetAllTierInfo | Returns the Azerite power tiers of the item. · by wowlua(azeriteEmpoweredItemLocation: ItemLocationMixin): AzeriteEmpoweredItemTierInfo[] | guessed |
GetAllTierInfoByItemID | Returns the Azerite power tiers of the item. · by wowlua(itemInfo: ItemInfo, classID: number?): AzeriteEmpoweredItemTierInfo[] | guessed |
GetAzeriteEmpoweredItemRespecCost | Returns the cost of resetting an item's Azerite powers. · by wowlua(): number | guessed |
GetPowerInfo | Returns information about the Azerite power. · by wowlua(powerID: number): AzeriteEmpoweredItemPowerInfo? | guessed |
GetPowerText | Returns the name and description of the Azerite power on the item. · by wowlua(azeriteEmpoweredItemLocation: ItemLocationMixin, powerID: number, level: AzeritePowerLevel): AzeriteEmpoweredItemPowerText? | guessed |
GetSpecsForPower | Returns the specializations that can use the Azerite power. · by wowlua(powerID: number): AzeriteSpecInfo[]? | guessed |
HasAnyUnselectedPowers | Whether the item has a tier without a selected Azerite power. · by wowlua(azeriteEmpoweredItemLocation: ItemLocationMixin): boolean | guessed |
HasBeenViewed | Whether the player has looked at the item's Azerite powers. · by wowlua(azeriteEmpoweredItemLocation: ItemLocationMixin): boolean | guessed |
IsAzeriteEmpoweredItem | Whether the item is Azerite empowered. · by wowlua(itemLocation: ItemLocationMixin): boolean | guessed |
IsAzeriteEmpoweredItemByID | Whether the item is Azerite empowered. · by wowlua(itemInfo: ItemInfo): boolean | implemented |
IsAzeritePreviewSourceDisplayable | Whether the item's Azerite powers can be previewed. · by wowlua(itemInfo: ItemInfo, classID: number?): boolean | guessed |
IsHeartOfAzerothEquipped | Whether the player has the Heart of Azeroth equipped. · by wowlua(): boolean | guessed |
IsPowerAvailableForSpec | Whether the specialization can use the Azerite power. · by wowlua(powerID: number, specID: number): boolean | guessed |
IsPowerSelected | Whether the Azerite power is selected on the item. · by wowlua(azeriteEmpoweredItemLocation: ItemLocationMixin, powerID: number): boolean | guessed |
SelectPower | Selects the Azerite power on the item. · by wowlua(azeriteEmpoweredItemLocation: ItemLocationMixin, powerID: number): boolean | guessed |
SetHasBeenViewed | Marks the item's Azerite powers as looked at. · by wowlua(azeriteEmpoweredItemLocation: ItemLocationMixin) | guessed |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
Events
| event | payload | fired by the emulator |
|---|---|---|
AZERITE_EMPOWERED_ITEM_EQUIPPED_STATUS_CHANGED | isHeartEquipped: boolean | not implemented |
AZERITE_EMPOWERED_ITEM_SELECTION_UPDATED | azeriteEmpoweredItemLocation: ItemLocationMixin | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("AZERITE_EMPOWERED_ITEM_EQUIPPED_STATUS_CHANGED").
Structures
AzeriteEmpoweredItemPowerInfo· azeritePowerID, spellIDAzeriteEmpoweredItemPowerText· name, descriptionAzeriteEmpoweredItemTierInfo· azeritePowerIDs, unlockLevelAzeriteSpecInfo· classID, specID
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (AzeriteEmpoweredItem system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.