WoW:API GetSavedInstanceInfo: Difference between revisions

no edit summary
m (split signature)
No edit summary
Line 3: Line 3:
Returns information about the instances the player is saved to.
Returns information about the instances the player is saved to.


  name, id, reset, difficulty, locked, extended, instanceIDMostSig, isRaid, maxPlayers, difficultyName
  name, id, reset, difficulty, locked, extended, instanceIDMostSig, isRaid, maxPlayers, difficultyName, numEncounters, encounterProgress
   = GetSavedInstanceInfo(index)
   = GetSavedInstanceInfo(index)


Line 20: Line 20:
;maxPlayers : Number - shows the max players
;maxPlayers : Number - shows the max players
;difficultyName : String - shows a localized string i.e. 10 Player (Heroic)
;difficultyName : String - shows a localized string i.e. 10 Player (Heroic)
;numEncounters : Number - number of boss encounters in this instance
;encounterProgress : Number - farthest boss encounter in this instance for player


==Details==
==Details==
Line 27: Line 29:
* 3.0.2: added instance difficulty.  Difficulty > 1 indicates a heroic raid (25-man version)
* 3.0.2: added instance difficulty.  Difficulty > 1 indicates a heroic raid (25-man version)
* 3.2.0: added locked, extended, instanceIDMostSig, isRaid, maxPlayers and difficultyName
* 3.2.0: added locked, extended, instanceIDMostSig, isRaid, maxPlayers and difficultyName
* 4.0.1: added numEncounters and encounterProgress
Anonymous user