Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API C_PetJournal.GetOwnedBattlePetString

From Wowpedia
Jump to: navigation, search

Returns a string describing how many battle pets of a specific species you've 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 history

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