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
classInfo = C_CreatureInfo.GetClassInfo(classID)
Arguments
Returns
creatureFamilyIDs = C_CreatureInfo.GetCreatureFamilyIDs()
Returns
creatureFamilyIDs | number[] | |
|---|
creatureFamilyInfo = C_CreatureInfo.GetCreatureFamilyInfo(creatureFamilyID)
Arguments
Returns
creatureID = C_CreatureInfo.GetCreatureID(creatureGUID)
Arguments
Returns
creatureID | number may be nil | |
|---|
creatureTypeIDs = C_CreatureInfo.GetCreatureTypeIDs()
Returns
creatureTypeInfo = C_CreatureInfo.GetCreatureTypeInfo(creatureTypeID)
Arguments
Returns
factionInfo = C_CreatureInfo.GetFactionInfo(raceID)
Arguments
Returns
raceInfo = C_CreatureInfo.GetRaceInfo(raceID)
Arguments
Returns
Tables
className | string | |
|---|
classFile | string | |
|---|
classID | number | |
|---|
id | number | |
|---|
name | cstring | |
|---|
iconFile | fileID may be nil | |
|---|
name | cstring | |
|---|
groupTag | cstring | |
|---|
raceName | string | |
|---|
clientFileString | string | |
|---|
raceID | number | |
|---|