# UnitConstants (types and enums): 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/UnitConstants

## Tables

### AddPrivateAuraAnchorArgs (structure)

- `unitToken`: cstring
- `auraIndex`: number
- `parent`: SimpleFrame
- `showCooldownFrame`: bool, default false
- `showCooldownEdge`: bool, default false
- `showCountdownNumbers`: bool, default false
- `showDispelIcon`: bool, default false
- `isContainer`: bool, default false
- `iconInfo`: PrivateAuraIconInfo, may be nil
- `durationAnchor`: AnchorBinding, may be nil

### GroupBuffVisualAlertInfo (structure)

- `spellID`: number
- `visualValue`: VisualAlertType

### PrivateAuraIconInfo (structure)

- `iconAnchor`: AnchorBinding
- `iconWidth`: uiUnit
- `iconHeight`: uiUnit
- `borderScale`: uiUnit, may be nil

### UnitAuraSoundInfo (structure)

- `unitToken`: string
- `spellID`: number
- `soundFileName`: string, may be nil. Sound file to play. Playback stops after five seconds.
- `soundFileID`: number, may be nil. Sound file to play. Playback stops after five seconds.
- `outputChannel`: string, may be nil
- `throttleSeconds`: number, may be nil. Minimum time in seconds between plays. Must be between 0 and 5 seconds, inclusive. Invalid values reject registration.

### UnitAuraUpdateInfo (structure)

- `isFullUpdate`: bool, default false
- `removedAuraInstanceIDs`: number[], may be nil
- `addedAuras`: AuraData[], may be nil
- `updatedAuraInstanceIDs`: number[], may be nil

### UnitPrivateAuraAnchorInfo (structure)

- `anchorID`: number
- `unitToken`: string
- `auraIndex`: number
- `showCooldownFrame`: bool, default false
- `showCooldownEdge`: bool, default false
- `showCountdownNumbers`: bool, default false
- `showDispelIcon`: bool, default false
- `iconWidth`: uiUnit, may be nil
- `iconHeight`: uiUnit, may be nil
- `borderScale`: uiUnit, may be nil
- `isContainer`: bool, may be nil
- `parent`: SimpleFrame

---
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."
