WoW:API GetSavedInstanceInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
(added Naxxramas and Ahn'Qiraj (except spelling/punc))
Line 15: Line 15:
==Details==
==Details==


* Exact returned instance names (English): Onyxia's Lair, Blackwing Lair, Molten Core, Zul'Gurub, Ruins of Ahn'Qiraj (other names are returned of course, but the exact captialization and punctuation haven't been added here yet)
* 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
* Added in 1.11

Revision as of 00:39, 31 August 2006

WoW API < GetSavedInstanceInfo

Returns information about the instances the player is saved to.

name, ID, remaining = GetSavedInstanceInfo(index)

Parameters

index
Number - index of the instance, ranges from 1 to GetNumSavedInstaces()

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

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