WoW:API GetNumTalents: Difference between revisions
Jump to navigation
Jump to search
m ([,pet] was missing from the arguments) |
No 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 | local numTalents = GetNumTalents(tabIndex); | ||
---- | ---- | ||
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. | ||
---- | ---- | ||
Line 18: | Line 14: | ||
:;numTalents : Integer - The number of talents in that tab. | :;numTalents : Integer - The number of talents in that tab. | ||
== Patch changes == | |||
{{Patch 5.0.4|note=Returns 18}}. | |||
Revision as of 23:22, 30 August 2012
← WoW API < GetNumTalents
Returns the total number of talents in a tab. Note: This includes learned and unlearned talents.
local numTalents = GetNumTalents(tabIndex);
- Arguments
- tabIndex
- Integer - Specifies which tab to count the total number of talent points.
- Returns
- numTalents
- Integer - The number of talents in that tab.
Patch changes
Template:Mists-inline <span style="" title="Patch 5.0.4">Patch 5.0.4</span> (patch date::28-August-2012): Returns 18
.