World of Warcraft Forever API · C_AnimaDiversion.md, for your AI
C_AnimaDiversion
7 functions, 3 events, 4 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_AnimaDiversion.CloseUI
C_AnimaDiversion.CloseUI()
C_AnimaDiversion.GetAnimaDiversionNodes
animaNodes = C_AnimaDiversion.GetAnimaDiversionNodes()
May return nothing.
Returns
animaNodes | AnimaDiversionNodeInfo[] |
|---|
C_AnimaDiversion.GetOriginPosition
normalizedPosition = C_AnimaDiversion.GetOriginPosition()
Returns
normalizedPosition | vector2 may be nil |
|---|
C_AnimaDiversion.GetReinforceProgress
progress = C_AnimaDiversion.GetReinforceProgress()
Returns
progress | number |
|---|
C_AnimaDiversion.GetTextureKit
textureKit = C_AnimaDiversion.GetTextureKit()
Returns
textureKit | textureKit |
|---|
C_AnimaDiversion.OpenAnimaDiversionUI
C_AnimaDiversion.OpenAnimaDiversionUI()
C_AnimaDiversion.SelectAnimaNode
C_AnimaDiversion.SelectAnimaNode(talentID, temporary)
Arguments
talentID | number | |
|---|---|---|
temporary | bool |
Events
ANIMA_DIVERSION_CLOSE
No payload.
ANIMA_DIVERSION_OPEN
info | AnimaDiversionFrameInfo |
|---|
ANIMA_DIVERSION_TALENT_UPDATED
No payload.
Tables
Enum.AnimaDiversionNodeState enumeration
Unavailable | 0 |
|---|---|
Available | 1 |
SelectedTemporary | 2 |
SelectedPermanent | 3 |
Cooldown | 4 |
AnimaDiversionCostInfo structure
currencyID | number | |
|---|---|---|
quantity | number |
AnimaDiversionFrameInfo structure
textureKit | textureKit | |
|---|---|---|
title | string | |
mapID | number |
AnimaDiversionNodeInfo structure
talentID | number | |
|---|---|---|
name | string | |
description | string | |
costs | AnimaDiversionCostInfo[] | |
currencyID | number | |
icon | number | |
normalizedPosition | vector2 | |
state | AnimaDiversionNodeState |