v0.13.7

C_PetJournal.GetPetSummonInfo

functionguessedavailable in: camelot

Returns whether a pet can be summoned, the error that prevents it, and the error's text. · description by wowlua

signaturewowlua
function C_PetJournal.GetPetSummonInfo(    battlePetGUID: string): (boolean, PetJournalError, string)

Parameters

nametypedescription
battlePetGUIDstringThe pet's GUID in the pet journal.

Returns

#nametype
1isSummonableboolean
2errorPetJournalError
3errorTextstring

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

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (PetJournalInfo system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.