v0.13.7

C_PetJournal.FindPetIDByName

functionguessedavailable in: camelot

Returns pet species and GUID by pet name.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
petNamestringName of the pet to find species/GUID of.

Returns

#nametypedescription
1speciesIdnumber?Species ID of the first battle pet (or species) with the specified name, nil if no such pet exists.
2petGUIDstring?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.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.