WoW API: GetNumSavedInstances

From AddOn Studio
Revision as of 15:09, 21 October 2009 by WoWWiki>.Coren. (clarified return value meaning)
Jump to navigation Jump to search

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.