WoW:API GetSavedInstanceInfo: Difference between revisions

no edit summary
No edit summary
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, remaining, difficulty, locked, extended = GetSavedInstanceInfo(index)
  instanceName, instanceID, instanceReset, instanceDifficulty, locked, extended, instanceIDMostSig, isRaid, maxPlayers, difficultyName = GetSavedInstanceInfo(index)


== Parameters ==
== Parameters ==
Line 13: Line 13:
:;remaining : Number - the number of seconds remaining until the instance resets
:;remaining : Number - the number of seconds remaining until the instance resets
:;difficulty : Number - the difficulty of the raid instance
:;difficulty : Number - the difficulty of the raid instance
:;locked : Unknown
:;locked : Boolean - unknown
:;extended : Unknown
:;extended : Boolean - shows true if the ID has been extended
:;instanceIDMostSig : Number - unknown
:;isRaid : Boolean - shows true if it is a raid
:;maxPlayers : Number - shows the max players
:;difficultyName : String - shows a localized string i.e. 10 Player (Heroic)


==Details==
==Details==
Line 23: Line 27:


* 3.0.2: added instance difficulty.  Difficulty > 1 indicates a heroic raid (25man version)
* 3.0.2: added instance difficulty.  Difficulty > 1 indicates a heroic raid (25man version)
* 3.2.0 PTR: added locked and extended.  Purpose unknown
* 3.2.0: added locked, extended, instanceIDMostSig, isRaid, maxPlayers and difficultyName
Anonymous user