World of Warcraft Forever API · UnitConstants.md, for your AI
UnitConstants (types and enums)
6 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.
Tables
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 | |
|---|
iconAnchor | AnchorBinding | |
|---|
iconWidth | uiUnit | |
|---|
iconHeight | uiUnit | |
|---|
borderScale | uiUnit may be nil | |
|---|
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. |
|---|
isFullUpdate | bool default false | |
|---|
removedAuraInstanceIDs | number[] may be nil | |
|---|
addedAuras | AuraData[] may be nil | |
|---|
updatedAuraInstanceIDs | number[] may be nil | |
|---|
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 | |
|---|