# EncounterEventsShared (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/EncounterEventsShared

## Tables

### Enum.EncounterEventColorTrigger (enumeration)

- `TextWarning` = 0
- `TimelineEvent` = 1
- `TimelineEventHighlight` = 2

### Enum.EncounterEventSoundTrigger (enumeration)

- `OnTextWarningShown` = 0
- `OnTimelineEventFinished` = 1
- `OnTimelineEventHighlight` = 2

### EncounterEventInfo (structure)

- `encounterEventID`: number. ID of the encounter event record.
- `enabled`: bool. If true, this event should be displayed on boss ability HUD elements.
- `spellID`: number. Spell ID that triggers this event. A single spell may be used by multiple encounter events.
- `iconFileID`: number. Icon file ID for the event. Typically the same as the spell icon, but may be overridden.
- `severity`: EncounterEventSeverity. Severity level of this event.
- `icons`: EncounterEventIconmask. Bitmask of spell support icons to show for this event.

### EncounterEventSoundInfo (structure)

- `file`: FileAsset. Sound file to be played when triggered.
- `channel`: UISoundSubType, default "g_defaultSI3UISoundSubTypeForLua". Sound channel to play this file on.
- `volume`: number, default 1. Volume scalar for the sound file.

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