Wikia

WoWWiki

API GetNumSpecializations

Talk0
98,518pages on
this wiki

Returns the number of available specializations.

local numSpecializations = GetNumSpecializations(isInspect, isPet)

Contents

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.

Patch history

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

See also

Advertisement | Your ad here

Photos

Add a Photo
62,044photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki