API C_PetJournal.GetNumCollectedInfo

From Wowpedia
Jump to: navigation, search

Returns the number of collected battle pets of a particular species.

numCollected, limit = C_PetJournal.GetNumCollectedInfo(speciesId)

Arguments

speciesId 
Number - Battle pet species ID to query, e.g. 635 for Adder battle pets.

Returns

numCollected 
Number - Number of battle pets of the queried species the player has collected.
limit 
Number - Maximum number of battle pets of the queried species the player may collect.

Patch history

Mists of Pandaria Patch 5.1.0 (2012-11-27): Added.