Wowpedia
Advertisement
Wowpedia
240,511
pages
Game Flavors
Links
Patch
Added in 5.0.4

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 history

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

Advertisement