WowAddons

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

C_CreatureInfo

8 functions, 5 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_CreatureInfo.GetClassInfo

classInfo = C_CreatureInfo.GetClassInfo(classID)

Arguments

classIDnumber

Returns

classInfoClassInfo may be nil

C_CreatureInfo.GetCreatureFamilyIDs

creatureFamilyIDs = C_CreatureInfo.GetCreatureFamilyIDs()

Returns

creatureFamilyIDsnumber[]

C_CreatureInfo.GetCreatureFamilyInfo

creatureFamilyInfo = C_CreatureInfo.GetCreatureFamilyInfo(creatureFamilyID)

Arguments

creatureFamilyIDnumber

Returns

creatureFamilyInfoCreatureFamilyInfo may be nil

C_CreatureInfo.GetCreatureID

creatureID = C_CreatureInfo.GetCreatureID(creatureGUID)

Arguments

creatureGUIDWOWGUID

Returns

creatureIDnumber may be nil

C_CreatureInfo.GetCreatureTypeIDs

creatureTypeIDs = C_CreatureInfo.GetCreatureTypeIDs()

Returns

creatureTypeIDsnumber[]

C_CreatureInfo.GetCreatureTypeInfo

creatureTypeInfo = C_CreatureInfo.GetCreatureTypeInfo(creatureTypeID)

Arguments

creatureTypeIDnumber

Returns

creatureTypeInfoCreatureTypeInfo may be nil

C_CreatureInfo.GetFactionInfo

factionInfo = C_CreatureInfo.GetFactionInfo(raceID)

Arguments

raceIDnumber

Returns

factionInfoFactionInfo may be nil

C_CreatureInfo.GetRaceInfo

raceInfo = C_CreatureInfo.GetRaceInfo(raceID)

Arguments

raceIDnumber

Returns

raceInfoRaceInfo may be nil

Tables

ClassInfo structure

classNamestring
classFilestring
classIDnumber

CreatureFamilyInfo structure

idnumber
namecstring
iconFilefileID may be nil

CreatureTypeInfo structure

idnumber
namecstring

FactionInfo structure

namecstring
groupTagcstring

RaceInfo structure

raceNamestring
clientFileStringstring
raceIDnumber

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