WoW:API GetPetTrainingPoints: Difference between revisions
Jump to navigation
Jump to search
({{wowapi}}, summary, {{Stub/API}}) |
(Updated to not be a stub. Fixed the order of return values.) |
||
| Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | {{wowapi}} __NOTOC__ | ||
Gets the training point information about the current pet. | |||
local totalPoints, pointsSpent = GetPetTrainingPoints(); | |||
== Arguments == | |||
:None | |||
== Returns == | |||
:totalPoints, pointsSpent | |||
:;totalPoints : Number - The total of points spent and points available. | |||
:;pointsSpent : Number - The number of points spent. | |||
Revision as of 12:57, 12 June 2007
← WoW API < GetPetTrainingPoints
Gets the training point information about the current pet.
local totalPoints, pointsSpent = GetPetTrainingPoints();
Arguments
- None
Returns
- totalPoints, pointsSpent
- totalPoints
- Number - The total of points spent and points available.
- pointsSpent
- Number - The number of points spent.