WoW:API GetTalentTabInfo: Difference between revisions

Add 2.3 inspect option.
(upgraded deprecated template)
(Add 2.3 inspect option.)
Line 2: Line 2:
Returns the information of the talent tab (tree)
Returns the information of the talent tab (tree)


  ''name, iconTexture, pointsSpent, background'' = GetTalentTabInfo( ''tabIndex'' );
  ''name, iconTexture, pointsSpent, background'' = GetTalentTabInfo( ''tabIndex'' [,''inspect''] );


----
----
Line 8: Line 8:


:;tabIndex : Integer - Specifies which tab (tree) to identify.
:;tabIndex : Integer - Specifies which tab (tree) to identify.
:;inspect : [[Boolean]] - If true returns the information for the inspected unit instead of  the player. New with 2.3.


----
----
Anonymous user