API GetInstanceLockTimeRemaining

Returns information about the instance lock timer for the current instance. lockTimeleft, isPreviousInstance, encountersTotal, encountersComplete = GetInstanceLockTimeRemaining

Returns

 * lockTimeLeft : Number - Seconds until lock period ends.
 * isPreviousInstance : Boolean - Whether this instance has yet to be entered since last lockout expired (allowing for lock extension options).
 * encountersTotal : Number - Total number of bosses in the instance.
 * encountersComplete : Number - Number of bosses already dead in the instance.

Details

 * On the continent of Pandaria, unlike other open world continents,  is reported as 4. According to, this corresponds with the first 4 Pandaria world bosses of the expansion - Galleon, Sha of Anger,  Nalak, and Oondasta.
 * As of patch 5.4, the new world boss system isolates non-instance lockouts to and . It is likely that interacting with those bosses or their loot no longer has any effect on the old instance-based system represented by this function.