Wowpedia
Advertisement
Shadowlands-Icon-Inline.png
Bc icon.gif
WoW Icon update.png
C_CreatureInfo.GetClassInfo
+ 8.0.1 / 1.13.2   Townlong-Yak Globe.png  Townlong-Yak BAD.png  ProfIcons engineering.png
Shadowlands-Icon-Inline.png
Bc icon.gif
WoW Icon update.png
GetClassInfo
+ 5.0.4 / 2.5.1   Townlong-Yak Globe.png

Returns info for a class by ID.

classInfo = C_CreatureInfo.GetClassInfo(classID)

Arguments

classID 
number : ClassId - Ranging from 1 to GetNumClasses()

Returns

classInfo 
ClassInfo?
Key Type Description
className string Localized name, e.g. "Warrior" or "Guerrier".
classFile string Locale-independent name, e.g. "WARRIOR".
classID number

Values

ID className (enUS) classFile Description
1 Warrior WARRIOR
2 Paladin PALADIN
3 Hunter HUNTER
4 Rogue ROGUE
5 Priest PRIEST
6 Death Knight DEATHKNIGHT Added in 3.0.2
7 Shaman SHAMAN
8 Mage MAGE
9 Warlock WARLOCK
10 Monk MONK Added in 4.0.1
11 Druid DRUID
12 Demon Hunter DEMONHUNTER Added in 7.0.3

Patch changes


Advertisement