Lore archive · Warcraft Wiki, 2023 dump
API C PetJournal.GetPetInfoByIndex
Last wiki revision 2022-08-03
Returns information about a battle pet. petID, speciesID, owned, customName, level, favorite, isRevoked, speciesName, icon, petType, companionID, tooltip, description, isWild, canBattle, isTradeable, isUnique, obtainable = C_PetJournal.GetPetInfoByIndex(index)
- index: - Numeric index of the pet in the Pet Journal, ascending from 1.
- index is subject to filter and search result, eg a Search for "Snake" where index is 1 will return information about the first snake in journal where an empty search and filter will return information about first pet in journal.
Source
https://warcraft.wiki.gg/wiki/API_C_PetJournal.GetPetInfoByIndex · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.