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 number of options in a talent tab


See also Talent functions.

Signature:

numTalents = GetNumTalents(tabIndex, inspect, pet)

Arguments:

  • tabIndex - Index of a talent tab (between 1 and GetNumTalentTabs()) (number)
  • inspect - true to return information for the currently inspected unit; false to return information for the player (boolean)
  • pet - true to return information for the player's pet; false to return information for the player (boolean)

Returns:

  • numTalents - Number of different talent options (number)