Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Returns the number of available specializations.

numSpecializations = GetNumSpecializations([isInspect, isPet])

Arguments[]

isInspect
boolean - if true, return information for the inspected unit; false by default
isPet
boolean - if true, return information for the player's pet; false by default

If both arguments are false, the function returns information concerning the player.

Returns[]

numSpecialization
number - number of available specializations.

Details[]

Related API GetNumSpecializationsForClassID

Patch changes[]

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

Advertisement