API C_PetJournal.PetIsCapturable

From Wowpedia
Jump to: navigation, search

Returns whether a battle pet in your collection is capturable (i.e. a wild pet).

isCapturable = C_PetJournal.PetIsCapturable(petID)

Arguments

petID 
String - GUID of a battle pet in your collection, e.g. "0x0000000000067932"

Returns

isCapturable 
Boolean - true if the pet can be captured through wild pet battles, false otherwise.

Patch history

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