C_PetJournal.PetIsCapturable

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

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 changes

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