# C_Covenants: 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_Covenants

## Functions

### C_Covenants.GetActiveCovenantID

```lua
covenantID = C_Covenants.GetActiveCovenantID()
```

Returns:
- `covenantID`: number

### C_Covenants.GetCovenantData

```lua
data = C_Covenants.GetCovenantData(covenantID)
```

Arguments:
- `covenantID`: number

Returns:
- `data`: CovenantData, may be nil

### C_Covenants.GetCovenantIDs

```lua
covenantID = C_Covenants.GetCovenantIDs()
```

Returns:
- `covenantID`: number[]

## Events

### COVENANT_CHOSEN

Payload, after the event's name:
- `covenantID`: number

## Tables

### CovenantData (structure)

- `ID`: number
- `textureKit`: textureKit
- `celebrationSoundKit`: number
- `animaChannelSelectSoundKit`: number
- `animaChannelActiveSoundKit`: number
- `animaGemsFullSoundKit`: number
- `animaNewGemSoundKit`: number
- `animaReinforceSelectSoundKit`: number
- `upgradeTabSelectSoundKitID`: number
- `reservoirFullSoundKitID`: number
- `beginResearchSoundKitID`: number
- `renownFanfareSoundKitID`: number
- `factionID`: number
- `name`: cstring
- `soulbindIDs`: number[]

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