WoW:API GetPetLoyalty: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Formatted GetPetLoyalty with the current format.)
m (Move page script moved page API GetPetLoyalty to WoW:API GetPetLoyalty without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{removedapi|3.0|Pets now have talents rather than trainable skills.}}
 
{{wowapi}}
 
Returns pet loyalty flavor text (i.e. "(Loyalty Level 6) Best Friend").
Returns pet loyalty flavor text (i.e. "(Loyalty Level 6) Best Friend").
  local petLoyaltyText = GetPetLoyalty();
  local petLoyaltyText = GetPetLoyalty();
== Arguments ==
:None


== Returns ==
== Returns ==
:;petLoyaltyText : String - The localized pet loyalty level.
:;petLoyaltyText : String - The localized pet loyalty level.

Latest revision as of 04:46, 15 August 2023

WoW API < GetPetLoyalty

Returns pet loyalty flavor text (i.e. "(Loyalty Level 6) Best Friend").

local petLoyaltyText = GetPetLoyalty();

Returns

petLoyaltyText
String - The localized pet loyalty level.