Lore archive · Warcraft Wiki, 2023 dump
API C PetJournal.FindPetIDByName
Last wiki revision 2022-08-01
Returns pet species and GUID by pet name. speciesId, petGUID = C_PetJournal.FindPetIDByName(petName)
- petName: - Name of the pet to find species/GUID of.
- speciesId: - Species ID of the first battle pet (or species) with the specified name, nil if no such pet exists.
- petGUID: - GUID of the first battle pet collected by the player with the specified name, nil if the player has not collected any pets with the specified name.
Source
https://warcraft.wiki.gg/wiki/API_C_PetJournal.FindPetIDByName · 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.