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
| name | type | description |
|---|---|---|
speciesID | number | BattlePetSpeciesID |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | speciesName | string | Name of the pet species ("Albino Snake", "Blue Mini Jouster", etc.) |
| 2 | speciesIcon | number | Full path for the species' icon |
| 3 | petType | number | BattlePetTypeID |
| 4 | companionID | number | NPC ID for the summoned companion pet. |
| 5 | tooltipSource | string | Section of the species tooltip that provides location information |
| 6 | tooltipDescription | string | Section of the species tooltip that provides pet description ("flavor text") |
| 7 | isWild | boolean | For 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. |
| 8 | canBattle | boolean | True if this pet can be used in battles, false otherwise. |
| 9 | isTradeable | boolean | True if this pet can be traded, false otherwise. |
| 10 | isUnique | boolean | True if this pet is unique, false otherwise. |
| 11 | obtainable | boolean | True if this pet can be obtained, false otherwise (only false for tamer pets and developer/test pets). |
| 12 | creatureDisplayID | number | Creature 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 ↗.