WoW:API GetPrimaryTalentTree: Difference between revisions

Added parameter info.
(Created page with "== Synopsis == Returns your primary talent tree talentTabId = GetPrimaryTalentTree() == Remarks == Returns 0 for talentTabId if you have no primary talent tree set yet.")
 
(Added parameter info.)
Line 2: Line 2:
Returns your primary talent tree
Returns your primary talent tree


  talentTabId = GetPrimaryTalentTree()
  talentTabId = GetPrimaryTalentTree(index)


== Remarks ==
== Remarks ==
Returns 0 for talentTabId if you have no primary talent tree set yet.
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.
Anonymous user