C_PetJournal.GetNumCollectedInfo

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

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 changes

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