WoW:API PetCanBeAbandoned: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Formatting and categorization)
Line 3: Line 3:
Retuns true if the pet is abandonable.
Retuns true if the pet is abandonable.


  PetCanBeAbandoned();
  canAbandon = PetCanBeAbandoned();


----
----
Line 13: Line 13:
;''Returns''
;''Returns''


:;Boolean
:canAbandon
:;canAbandon : Boolean - <tt>true</tt> if the player's pet can be abandoned.


----
----
Line 29: Line 30:
----
----
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Pet Functions|PetCanBeAbandoned]]

Revision as of 20:00, 28 December 2004

PetCanBeAbandoned -Documentation by AlexanderYoshi-

Retuns true if the pet is abandonable.

canAbandon = PetCanBeAbandoned();

Arguments
none

Returns
canAbandon
canAbandon
Boolean - true if the player's pet can be abandoned.

Example
 if ( PetCanBeAbandoned() ) then AbandonPet(); end
Result
true | false

Description
Retuns true if the pet is abandonable.

Template:WoW API