WoW:API HasPetSpells: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
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''


:;Boolean hasPetSpells, String petToken
:; hasPetSpells, petToken


:;hasPetSpells : True if the player has pet spells
:;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

HasPetSpells -Documentation by AlexanderYoshi-

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.

Template:WoW API