C_PetJournal.GetNumPets

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

Returns information about the number of battle pets.

numPets, numOwned = C_PetJournal.GetNumPets()

Returns

numPets
number - Total number of pets available
numOwned
number - Number of pets currently owned

Patch changes

Mists of Pandaria Patch 5.2.0 (2013-03-05): Removed "isWild" argument.
Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.