Skip to content

Classes

The classes enum allows for mapping from a class id to its corresponding name. The key is a number id and the value is a string name. It is accessed through wow.enums.classes.

It is recommended to use classes alongside the class member of the Player type. For example:

print(wow.enums.classes.3 ) -- mage
print(wow.enums.classes.mage ) -- 3
print(wow.enums.classes[bot.class] ) -- Mage
Key Value
3 mage
4 warrior
5 warlock
6 priest
7 druid
8 rogue
9 hunter
10 paladin
11 shaman