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 information about a talent tab
See also Talent functions.
Signature:
id,
name,
description,
icon,
points,
background,
previewPoints,
isUnlocked
=
GetTalentTabInfo(tabIndex,
inspect,
pet,
talentGroup)
Arguments:
tabIndex
- Index of a talent tab (between 1 andGetNumTalentTabs()
) (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
)talentGroup
- Which set of talents to edit, if the player has Dual Talent Specialization enabled (number
)1
- Primary Talents2
- Secondary Talentsnil
- Currently active talents
Returns:
id
- ID of the talent tab (number
, blizzid)name
- Name of the talent tab (string
)description
- Localized summary of the talent tab (string
)icon
- Path to an icon texture for the talent tab (string
)points
- Number of points spent in the talent tab (number
)background
- Path to a background texture for the talent tab (string
)previewPoints
- Number of points spent in the talent tab in preview mode (number
)isUnlocked
- Whether the player can put points into the talent tab or not (boolean
)