WoW:API GetInstanceLockTimeRemaining: Difference between revisions

(Created page with '{{wowapi}} __NOTOC__ {{stub/API}} local lockTimeleft, isPreviousInstance = GetInstanceLockTimeRemaining(); == Parameters == === Arguments === : void === Returns === :;lockTim...')
 
m (Move page script moved page API GetInstanceLockTimeRemaining to API GetInstanceLockTimeRemaining without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}}
{{stub/API}}
Returns information about the instance lock timer for the current instance.
lockTimeleft, isPreviousInstance, encountersTotal, encountersComplete = GetInstanceLockTimeRemaining();


local lockTimeleft, isPreviousInstance = 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.


== Parameters ==
== History ==
=== Arguments ===
* isPreviousInstance argument added in [[Patch 3.2]]
: void


=== Returns ===
== See also ==
:;lockTimeLeft : Number - Seconds until lock period ends
* {{api|GetInstanceLockTimeRemainingEncounter}}()
:;isPreviousInstance : Boolean - Whether this instance has yet to be entered since last lockout expired (allowing for lock extension options)
 
== Example ==
 
== Details ==
* Patch 3.2, this was noted as being updated in 3.2 with isPreviousInstance being the change, but this funciton was not even listed in wowwiki, so not sure if it's just totally new [http://forums.worldofwarcraft.com/thread.html?topicId=18031134556&postId=180295297941#180295297941 source]

Latest revision as of 04:46, 15 August 2023

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

See also