API C_PetJournal.PetIsSlotted

From Wowpedia
Jump to: navigation, search

Returns whether a battle pet in your collection is part of your current battle pet team.

isSlotted = C_PetJournal.PetIsSlotted("petID")

Arguments

petID 
String - GUID of a battle pet in your collection.

Returns

isSlotted 
Boolean - true if the battle pet is part of your current team (loadout), false otherwise.

Patch history

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