C_PetJournal.PetIsFavorite

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 5.0.4 / 1.15.0

Returns true if the collected battle pet is favorited.

isFavorite = C_PetJournal.PetIsFavorite(petGUID)

Arguments

petGUID
string - GUID of a battle pet in your collection.

Returns

isFavorite
boolean - true if this pet is marked as a favorite, false otherwise.

Patch changes

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.