WoW:API GetPetTrainingPoints: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Updated to not be a stub. Fixed the order of return values.)
(removedapi)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{removedapi|3.0|Pets now have talents rather than trainable skills.}}
 
{{wowapi}}
 
Gets the training point information about the current pet.
Gets the training point information about the current pet.
  local totalPoints, pointsSpent = GetPetTrainingPoints();
  local totalPoints, pointsSpent = GetPetTrainingPoints();
== Arguments ==
:None


== Returns ==
== Returns ==
:totalPoints, pointsSpent
;totalPoints : Number - The total of points spent and points available.
 
;pointsSpent : Number - The number of points spent.
:;totalPoints : Number - The total of points spent and points available.
:;pointsSpent : Number - The number of points spent.

Revision as of 15:08, 29 May 2009

WoW API < GetPetTrainingPoints

Gets the training point information about the current pet.

local totalPoints, pointsSpent = GetPetTrainingPoints();

Returns

totalPoints
Number - The total of points spent and points available.
pointsSpent
Number - The number of points spent.