WoW:API HasPetSpells: Difference between revisions
Jump to navigation
Jump to search
HasPetSpells -Documentation by AlexanderYoshi-
No edit summary |
m (Formatting and categorization) |
||
Line 3: | Line 3: | ||
Returns true if the player has pet spells. | Returns true if the player has pet spells. | ||
HasPetSpells(); | hasPetSpells, petToken = HasPetSpells(); | ||
---- | ---- | ||
Line 13: | Line 13: | ||
;''Returns'' | ;''Returns'' | ||
:; | :; hasPetSpells, petToken | ||
:;hasPetSpells : | :;hasPetSpells : Boolean - <tt>true</tt> if the player has pet spells | ||
:;petToken : The pet token | :;petToken : String - The pet token | ||
---- | ---- | ||
Line 32: | Line 32: | ||
---- | ---- | ||
{{Template:WoW API}} | {{Template:WoW API}} | ||
[[Category:API Pet Functions|HasPetSpells]] |
Revision as of 19:55, 28 December 2004
Returns true if the player has pet spells.
hasPetSpells, petToken = HasPetSpells();
- Arguments
- none
- Returns
- hasPetSpells, petToken
- hasPetSpells
- Boolean - true if the player has pet spells
- petToken
- String - The pet token
- Example
local hasPetSpells, petToken = HasPetSpells();
- Result
true | false, "?"
- Description
- Returns true if the player has pet spells.