C_PetJournal.GetOwnedBattlePetString

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

Returns a formatted string how many of a battle pet species the player has collected.

ownedString = C_PetJournal.GetOwnedBattlePetString(speciesId)

Arguments

speciesId
number - Battle pet species ID.

Returns

ownedString
string - a description of how many pets of this species you've collected, e.g. "|cFFFFD200Collected (1/3)", or nil if you haven't collected any.

Patch changes

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