API C_PetJournal.GetNumPets

From Wowpedia
Jump to: navigation, search

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 (2013-03-05): Removed "isWild" argument.
Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.