This function or event no longer exists in version 6.0.2 (19034) of World of Warcraft. Please check the main API page for an up-to-date listing of the valid API functions
Returns the index of a character's primary talent tree.. This function was removed in 5.0.4 (Mists of Panderia), and replaced with GetSpecialization().
See also Talent functions.
isInspect- If true, returns the information for the inspected unit instead of the player (
isPet- If true, returns the information for the pet instead of the player (
talentGroup- Index of the talent group to look at. 1 for Primary, 2 for secondary. Default is the currently active talents. (
tabIndex- Index of the primary talent tab (