GetNumClasses

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Patch
Added in 5.0.4 / 2.5.1 / 1.14.0

Returns the number of player classes in the game.

numClasses = GetNumClasses()

Returns

numClasses
number

Details

  • WoW Icon update.png In Classic, this function does not return the highest class ID, unlike in Retail. This behaviour has changed over time, so it may be unwise to rely on the current behaviour in Classic staying the same.

Patch changes