v0.13.7

C_PetJournal.GetPetInfoBySpeciesID

functionguessedavailable in: camelot

Returns information about a pet species.

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

Parameters

nametypedescription
speciesIDnumberBattlePetSpeciesID

Returns

#nametypedescription
1speciesNamestringName of the pet species ("Albino Snake", "Blue Mini Jouster", etc.)
2speciesIconnumberFull path for the species' icon
3petTypenumberBattlePetTypeID
4companionIDnumberNPC ID for the summoned companion pet.
5tooltipSourcestringSection of the species tooltip that provides location information
6tooltipDescriptionstringSection of the species tooltip that provides pet description ("flavor text")
7isWildbooleanFor pets in the player's possession, true if the pet *was* caught in the wild. For pets not in the player's possession, true if the pet *can* be caught in the wild.
8canBattlebooleanTrue if this pet can be used in battles, false otherwise.
9isTradeablebooleanTrue if this pet can be traded, false otherwise.
10isUniquebooleanTrue if this pet is unique, false otherwise.
11obtainablebooleanTrue if this pet can be obtained, false otherwise (only false for tamer pets and developer/test pets).
12creatureDisplayIDnumberCreature display ID of the species.

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 ↗.