WoW:API GetInstanceLockTimeRemaining: Difference between revisions
Jump to navigation
Jump to search
(Created page with '{{wowapi}} __NOTOC__ {{stub/API}} local lockTimeleft, isPreviousInstance = GetInstanceLockTimeRemaining(); == Parameters == === Arguments === : void === Returns === :;lockTim...') |
No edit summary |
||
Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} | ||
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. | |||
== | == History == | ||
* isPreviousInstance argument added in [[Patch 3.2]] | |||
== | == See also == | ||
* {{api|GetInstanceLockTimeRemainingEncounter}}() | |||
Revision as of 22:58, 29 March 2010
← WoW 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.
History
- isPreviousInstance argument added in Patch 3.2