WoW:API GetNumTalents: Difference between revisions

m
no edit summary
m ({{wowapi}})
mNo edit summary
Line 2: Line 2:
Returns the total number of talents in a tab. '''Note:''' This includes learned and unlearned talents.
Returns the total number of talents in a tab. '''Note:''' This includes learned and unlearned talents.


  numTalents = GetNumTalents(tabIndex);
  numTalents = GetNumTalents(tabIndex[,inspect]);


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


:;tabIndex : Integer - Specifies which tab to count the total number of talent points.
:;tabIndex : Integer - Specifies which tab to count the total number of talent points.
:;inspect : [[Boolean]] - If true returns the information for the inspected unit instead of  the player. New with 2.3.


----
----
Anonymous user