C_PetJournal.GetPetInfoTableByPetID

From Warcraft Wiki
Jump to navigation Jump to search

Needs summary.

info = C_PetJournal.GetPetInfoTableByPetID(petID)

Arguments

petID
string

Returns

info
PetJournalPetInfo
Field Type Description
speciesID number
customName string?
petLevel number
xp number
maxXP number
displayID number
isFavorite boolean
icon number
petType number
creatureID number
name string?
sourceText string
description string
isWild boolean
canBattle boolean
tradable boolean
unique boolean
obtainable boolean

Patch changes

Shadowlands Patch 9.1.0 (2021-06-29): Added.