WoW API: GetNumSavedInstances

From AddOn Studio
Jump to navigation Jump to search

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.