C_PetJournal. GetPetCooldownByGUID
functionguessedavailable in: camelot
Returns the cooldown associated with summoning a battle pet companion.
The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.
Parameters
| name | type | description |
|---|---|---|
GUID | string | GUID of a battle pet in your collection to query the cooldown of. |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | start | number | the time the cooldown period began, based on GetTime(). |
| 2 | duration | number | the duration of the cooldown period. |
| 3 | isEnabled | number | 1 if the cooldown is not paused. |
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 ↗.