WoW:API GetNumSavedInstances: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(clarified return value meaning)
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.

Revision as of 15:09, 21 October 2009

WoW API < GetNumSavedInstances


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

numInstances = GetNumSavedInstances()


Parameters

Returns

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

Details

  • 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.