Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the cooldown associated with summoning a battle pet companion.
start, duration, isEnabled = C_PetJournal.GetPetCooldownByGUID(GUID)
Arguments[]
- GUID
- string - GUID of a battle pet in your collection to query the cooldown of.
Returns[]
- start
- number - the time the cooldown period began, based on GetTime().
- duration
- number - the duration of the cooldown period.
- isEnabled
- number - 1 if the cooldown is not paused.
Details[]
- If the queried pet is not currently on a cooldown, this function will return
0, 0, 1
.
Patch changes[]
Patch 5.2.0 (2013-03-05): Added.