WoW:API PetCanBeRenamed: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API PetCanBeRenamed to API PetCanBeRenamed without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<center>'''PetCanBeRenamed''' ''-Documentation by AlexanderYoshi-''</center>
{{wowapi}}
 
Retuns true if the pet can be renamed.
Retuns true if the pet can be renamed.


  PetCanBeRenamed();
  canRename = PetCanBeRenamed();


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


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


----
----
Line 21: Line 21:
;''Result''
;''Result''
  true | false
  true | false
----
;''Description''
: Retuns true if the pet can be renamed.
----
{{Template:WoW API}}

Latest revision as of 04:47, 15 August 2023

WoW API < PetCanBeRenamed

Retuns true if the pet can be renamed.

canRename = PetCanBeRenamed();

Arguments
none

Returns
canRename
canRename
Boolean - true if the player's pet can be renamed.

Example
 if ( PetCanBeRenamed() ) then PetRename("Fuzzy Wuzzy"); end
Result
true | false