WowAddons

World of Warcraft Forever API · C_AzeriteItem.md, for your AI

C_AzeriteItem

10 functions, 3 events, 1 tables, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

C_AzeriteItem.FindActiveAzeriteItem

activeAzeriteItemLocation = C_AzeriteItem.FindActiveAzeriteItem()

May return nothing.

Returns

activeAzeriteItemLocationAzeriteItemLocation

C_AzeriteItem.GetAzeriteItemXPInfo

xp, totalLevelXP = C_AzeriteItem.GetAzeriteItemXPInfo(azeriteItemLocation)

May return nothing.

Arguments

azeriteItemLocationAzeriteItemLocation

Returns

xpnumber
totalLevelXPnumber

C_AzeriteItem.GetPowerLevel

powerLevel = C_AzeriteItem.GetPowerLevel(azeriteItemLocation)

Arguments

azeriteItemLocationAzeriteItemLocation

Returns

powerLevelnumber

C_AzeriteItem.GetUnlimitedPowerLevel

powerLevel = C_AzeriteItem.GetUnlimitedPowerLevel(azeriteItemLocation)

Arguments

azeriteItemLocationAzeriteItemLocation

Returns

powerLevelnumber

C_AzeriteItem.HasActiveAzeriteItem

hasActiveAzeriteItem = C_AzeriteItem.HasActiveAzeriteItem()

Returns

hasActiveAzeriteItembool

C_AzeriteItem.IsAzeriteItem

isAzeriteItem = C_AzeriteItem.IsAzeriteItem(itemLocation)

Arguments

itemLocationItemLocation

Returns

isAzeriteItembool

C_AzeriteItem.IsAzeriteItemAtMaxLevel

isAtMax = C_AzeriteItem.IsAzeriteItemAtMaxLevel()

Returns

isAtMaxbool

C_AzeriteItem.IsAzeriteItemByID

isAzeriteItem = C_AzeriteItem.IsAzeriteItemByID(itemInfo)

Arguments

itemInfoItemInfo

Returns

isAzeriteItembool

C_AzeriteItem.IsAzeriteItemEnabled

isEnabled = C_AzeriteItem.IsAzeriteItemEnabled(azeriteItemLocation)

Arguments

azeriteItemLocationAzeriteItemLocation

Returns

isEnabledbool

C_AzeriteItem.IsUnlimitedLevelingUnlocked

isUnlimitedLevelingUnlocked = C_AzeriteItem.IsUnlimitedLevelingUnlocked()

Returns

isUnlimitedLevelingUnlockedbool

Events

AZERITE_ITEM_ENABLED_STATE_CHANGED

enabledbool

AZERITE_ITEM_EXPERIENCE_CHANGED

azeriteItemLocationAzeriteItemLocation
oldExperienceAmountnumber
newExperienceAmountnumber

AZERITE_ITEM_POWER_LEVEL_CHANGED

azeriteItemLocationAzeriteItemLocation
oldPowerLevelnumber
newPowerLevelnumber
unlockedEmpoweredItemsInfoUnlockedAzeriteEmpoweredItems[]
azeriteItemIDnumber

Tables

UnlockedAzeriteEmpoweredItems structure

unlockedItemAzeriteEmpoweredItemLocation
tierIndexluaIndex

Necesitas WowAddons

Gratis, para Windows, macOS y Linux: pone el addon en tu juego en un clic y lo mantiene al día. Ábrelo una vez y vuelve a pulsar Instalar.

WowAddons funciona en tu ordenador: abre wowaddons.gg allí.

Descargar para Windows