WoW:API GetSavedInstanceInfo: Difference between revisions
Jump to navigation
Jump to search
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 = GetSavedInstanceInfo(index) | name, ID, remaining, difficulty, locked, extended = 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 | |||
:;extended : Unknown | |||
==Details== | ==Details== | ||
Line 21: | Line 23: | ||
* 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 |
Revision as of 16:27, 25 June 2009
← WoW API < GetSavedInstanceInfo
Returns information about the instances the player is saved to.
name, ID, remaining, difficulty, locked, extended = GetSavedInstanceInfo(index)
Parameters
- index
- Number - index of the instance, ranges from 1 to GetNumSavedInstances()
Returns
- name
- String - the name of the instance
- ID
- Number - the ID of the instance
- remaining
- Number - the number of seconds remaining until the instance resets
- difficulty
- Number - the difficulty of the raid instance
- locked
- Unknown
- extended
- Unknown
Details
- Exact returned instance names (English): Onyxia's Lair, Blackwing Lair, Molten Core, Zul'Gurub, Ruins of Ahn'Qiraj, Naxxramas and Ahn'Qiraj
- Added in 1.11
- 3.0.2: added instance difficulty. Difficulty > 1 indicates a heroic raid (25man version)
- 3.2.0 PTR: added locked and extended. Purpose unknown