GetNumClasses

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 5.0.4 / 1.15.0

Returns the number of player classes in the game.

numClasses = GetNumClasses()

Returns

numClasses
number

Details

  • WoW Icon update.png This returns 11 (Druid) in Classic since it actually returns the highest class ID.

Patch changes

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