# C_AnimaDiversion: World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/C_AnimaDiversion

## Functions

### C_AnimaDiversion.CloseUI

```lua
C_AnimaDiversion.CloseUI()
```

### C_AnimaDiversion.GetAnimaDiversionNodes

```lua
animaNodes = C_AnimaDiversion.GetAnimaDiversionNodes()
```

May return nothing.

Returns:
- `animaNodes`: AnimaDiversionNodeInfo[]

### C_AnimaDiversion.GetOriginPosition

```lua
normalizedPosition = C_AnimaDiversion.GetOriginPosition()
```

Returns:
- `normalizedPosition`: vector2, may be nil

### C_AnimaDiversion.GetReinforceProgress

```lua
progress = C_AnimaDiversion.GetReinforceProgress()
```

Returns:
- `progress`: number

### C_AnimaDiversion.GetTextureKit

```lua
textureKit = C_AnimaDiversion.GetTextureKit()
```

Returns:
- `textureKit`: textureKit

### C_AnimaDiversion.OpenAnimaDiversionUI

```lua
C_AnimaDiversion.OpenAnimaDiversionUI()
```

### C_AnimaDiversion.SelectAnimaNode

```lua
C_AnimaDiversion.SelectAnimaNode(talentID, temporary)
```

Arguments:
- `talentID`: number
- `temporary`: bool

## Events

### ANIMA_DIVERSION_CLOSE

No payload.

### ANIMA_DIVERSION_OPEN

Payload, after the event's name:
- `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

---
Make an addon with your 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."
