Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 5.0.4 / 2.5.1

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


Advertisement