Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 5.0.4 / 2.5.1

Returns information about a class.

className, classFile, classID = GetClassInfo(classID)

Arguments

classID 
number - Ranging from 1 to GetNumClasses()

Returns

className 
string - Localized name, e.g. "Warrior" or "Guerrier".
classFile 
string - Locale-independent name, e.g. "WARRIOR".
classID 
number : ClassId

Details

  • WoW Icon update.png Returns nil for classes that don't exist in Classic.

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 history

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.


Advertisement