WoW:API GetPrimaryTalentTree: Difference between revisions
Jump to navigation
Jump to search
(Added parameter info.) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Stub/API}} | |||
{{wowapi}} | |||
== Synopsis == | == Synopsis == | ||
Returns your primary talent tree | Returns your primary talent tree |
Revision as of 02:40, 17 July 2011
← WoW API < GetPrimaryTalentTree
Synopsis
Returns your primary talent tree
talentTabId = GetPrimaryTalentTree(index)
Remarks
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.