API C_PetJournal.PetIsFavorite

From Wowpedia
Jump to: navigation, search

Returns whether a battle pet in your collection is marked as a favorite.

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 history

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