WoW:API GetInstanceInfo: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 8: Line 8:
== Returns ==
== Returns ==
# name (string) - the name of the instance (localized), otherwise the continent name (eg: Eastern Kingdoms, Kalimdor, Northrend, Outland)
# 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. Many of following result values will be nil or otherwise useless in the case of "none".
# type (string) - "none" if the player is not in an instance, "party" if in party, "raid" if in a raid, "pvp" for battlegrounds, "arena" for arenas. Many of following result values will be nil or otherwise useless in the case of "none".
# difficultyIndex (number) - the difficulty of the instance (see Details)
# difficultyIndex (number) - the difficulty of the instance (see Details)
# difficultyName (string) - the difficulty of the instance ("10 Player", "25 Player (Heroic)", etc)
# difficultyName (string) - the difficulty of the instance ("10 Player", "25 Player (Heroic)", etc)
Anonymous user