GetNumClasses
Jump to navigation
Jump to search
Returns the number of player classes in the game.
numClasses = GetNumClasses()
Returns
- numClasses
- number
Details
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
Patch 5.0.4 (2012-08-28): Added.
|