WoW:API GetNumSavedInstances: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API GetNumSavedInstances to API GetNumSavedInstances without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
Returns the number of instances the player is currently saved to.
Returns the number of instances the player is currently saved to.


  numInstances = GetNumSavedInstance()
  numInstances = GetNumSavedInstances()




Line 15: Line 15:


* Added in 1.11
* Added in 1.11
* Actually it returns the number of records that can be queried via [[API_GetSavedInstanceInfo|GetSavedInstanceInfo]](...). This is not the same as the number of locked instances, as historic records are kept as well.

Latest revision as of 04:46, 15 August 2023

WoW API < GetNumSavedInstances


Returns the number of instances the player is currently saved to.

numInstances = GetNumSavedInstances()


Parameters[edit]

Returns[edit]

numInstances
Number - number of instances saved to, zero if none

Details[edit]

  • Added in 1.11
  • Actually it returns the number of records that can be queried via GetSavedInstanceInfo(...). This is not the same as the number of locked instances, as historic records are kept as well.