Wowpedia
Advertisement
Wowpedia
240,452
pages
Game Flavors
Links
Patch
Added in 5.1.0

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 / API (2012-11-27): Added.

Advertisement