Shakar51457@legacy41570823 (talk | contribs) |
Kaydeethree (talk | contribs) (3.3 update) |
||
Line 15: | Line 15: | ||
* Added in 3.2 |
* Added in 3.2 |
||
* "difficulty of the instance" is described in [[API_GetInstanceDifficulty|GetInstanceDifficulty()]] |
* "difficulty of the instance" is described in [[API_GetInstanceDifficulty|GetInstanceDifficulty()]] |
||
+ | |||
+ | ==Patch changes== |
||
+ | In 3.3, the returns were changed to: |
||
+ | |||
+ | name, type, difficulty, difficultyName, ?, ?, dynamicInstance = GetInstanceInfo() |
Revision as of 01:02, 24 November 2009
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns information about the current instances the player is in.
name, type, difficulty, difficultyName = GetInstanceInfo()
Returns
- name
- String - the name of the instance (localized), otherwise the continent name (eg: Eastern Kingdoms, Kalimdor, Northrend, Outland)
- type
- String - "none" if the player is not in an instance, "party" if in party, "raid" if in a raid, "pvp" for battleground
- difficulty
- Number - the difficulty of the instance
- difficultyName
- String - the difficulty of the instance
Details
- Added in 3.2
- "difficulty of the instance" is described in GetInstanceDifficulty()
Patch changes
In 3.3, the returns were changed to:
name, type, difficulty, difficultyName, ?, ?, dynamicInstance = GetInstanceInfo()