API GetInstanceLockTimeRemaining

From Wowpedia
Jump to: navigation, search

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

Patch history

Wrath of the Lich King Patch 3.2.0 (2009-08-04): isPreviousInstance return value added.

See also