# C_AlliedRaces: 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_AlliedRaces

## Functions

### C_AlliedRaces.GetAllRacialAbilitiesFromID

```lua
allDisplayInfo = C_AlliedRaces.GetAllRacialAbilitiesFromID(raceID)
```

May return nothing.

Arguments:
- `raceID`: number

Returns:
- `allDisplayInfo`: AlliedRaceRacialAbility[]

### C_AlliedRaces.GetRaceInfoByID

```lua
info = C_AlliedRaces.GetRaceInfoByID(raceID)
```

May return nothing.

Arguments:
- `raceID`: number

Returns:
- `info`: AlliedRaceInfo

## Events

### ALLIED_RACE_CLOSE

No payload.

### ALLIED_RACE_OPEN

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

## Tables

### AlliedRaceInfo (structure)

- `raceID`: number
- `maleModelID`: number
- `femaleModelID`: number
- `achievementIds`: number[]
- `maleName`: cstring
- `femaleName`: cstring
- `description`: cstring
- `raceFileString`: cstring
- `crestAtlas`: textureAtlas
- `modelBackgroundAtlas`: textureAtlas
- `bannerColor`: colorRGB

### AlliedRaceRacialAbility (structure)

- `description`: cstring
- `name`: cstring
- `icon`: fileID

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