Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
No edit summary
KethoBot (talk | contribs)
m (trim param whitespace)
Tag: WoW API docs
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{wowapi}} __NOTOC__
+
{{wowapi}}
 
Returns the number of instances for which the character is locked out.
 
 
Returns the number of instances the player is currently saved to.
 
 
 
numInstances = GetNumSavedInstances()
 
numInstances = GetNumSavedInstances()
   
  +
==Returns==
 
:;numInstances:{{apitype|number}} - number of instances with available lockouts, 0 if none.
   
== Parameters ==
+
==Details==
  +
* Returns the number of records that can be queried via {{api|GetSavedInstanceInfo}}(...).
  +
* The count returned includes not just locked instances, but expired and extended lockouts as well.
  +
* The count does not include world bosses, which use {{api|GetNumSavedWorldBosses}}().
   
=== Returns ===
+
==Patch changes==
  +
{{Patch 1.11.0|note=Added.}}
:;numInstances : Number - number of instances saved to, zero if none
 
 
==Details==
 
   
  +
==See also==
* Added in 1.11
 
  +
* {{api|GetSavedInstanceInfo}}(...) - drills down to a specific saved instance
  +
* {{api|GetNumSavedWorldBosses}}() - same function as this, but for [[world boss]]es

Latest revision as of 16:28, 21 July 2022

Returns the number of instances for which the character is locked out.

numInstances = GetNumSavedInstances()

Returns

numInstances
number - number of instances with available lockouts, 0 if none.

Details

  • Returns the number of records that can be queried via GetSavedInstanceInfo(...).
  • The count returned includes not just locked instances, but expired and extended lockouts as well.
  • The count does not include world bosses, which use GetNumSavedWorldBosses().

Patch changes

WoW Icon update Patch 1.11.0 (2006-06-19): Added.

See also