WowAddons

World of Warcraft Forever API · C_AlliedRaces.md, for your AI

C_AlliedRaces

2 functions, 2 events, 2 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.

Functions

C_AlliedRaces.GetAllRacialAbilitiesFromID

allDisplayInfo = C_AlliedRaces.GetAllRacialAbilitiesFromID(raceID)

May return nothing.

Arguments

raceIDnumber

Returns

allDisplayInfoAlliedRaceRacialAbility[]

C_AlliedRaces.GetRaceInfoByID

info = C_AlliedRaces.GetRaceInfoByID(raceID)

May return nothing.

Arguments

raceIDnumber

Returns

infoAlliedRaceInfo

Events

ALLIED_RACE_CLOSE

No payload.

ALLIED_RACE_OPEN

raceIDnumber

Tables

AlliedRaceInfo structure

raceIDnumber
maleModelIDnumber
femaleModelIDnumber
achievementIdsnumber[]
maleNamecstring
femaleNamecstring
descriptioncstring
raceFileStringcstring
crestAtlastextureAtlas
modelBackgroundAtlastextureAtlas
bannerColorcolorRGB

AlliedRaceRacialAbility structure

descriptioncstring
namecstring
iconfileID

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows