WoW API: GetPrimaryTalentTree

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetPrimaryTalentTree to API GetPrimaryTalentTree without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetPrimaryTalentTree

Synopsis

Returns your primary talent tree

local talentTabId = GetPrimaryTalentTree(index)

Details

Returns 0 for talentTabId if you have no primary talent tree set yet. Will otherwise return the number of your primary talent tree (1 to 3). Index is 0 for primary spec, and any number greater than 0 for secondary spec.

Patch changes

Template:Mists-inline <span style="" title="Patch 5.0.4">Patch 5.0.4</span> (patch date::28-August-2012): Replaced by GetSpecialization.

See also