Wikia

WoWWiki

API GetNumSpecializations

Talk0
101,555pages on
this wiki
Revision as of 22:59, August 30, 2012 by Lushas (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < GetNumSpecializations

Returns the number of available specializations.

local numSpecializations = GetNumSpecializations(isInspect, isPet)

Arguments Edit

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 Edit

numSpecialization 
Number - number of available specializations.

Patch history Edit

Mists-Logo-Small Patch 5.0.4 (28 August 2012): Replaced GetNumTalentTabs.

See also Edit

Around Wikia's network

Random Wiki