WoW API type: InstanceMapID
InstanceMapIDs, or InstanceIDs, are unique numeric identifiers for instance maps in WoW. These values can be also used as a locale-independent way to identify instances. InstanceMapIDs are not interchangeable with MapIDs. The GetInstanceInfo function can be used to get the details of the current instance including the InstanceMapID for the instance the player is currently standing in.
/run print((select(8,GetInstanceInfo())))
Details
InstanceMapIDs are separate from MapIDs, where instead MapIDs are more like IDs of zones within an instance. InstanceMapIDs are typically thought of as a special instance map id for a dungeon or raid. However, the continents themselves are treated as instances, and also have unique instance map IDs. GetChallengeModeMapTimes(InstanceMapID) uses the InstanceMapID. The name of the instance may be different than the outer zone that covers that instance, and the map name returned by GetInstanceInfo() is not necessarily the same as the name returned by GetRealZoneText() or GetMapNameByID(). When denoted below, Zone Name is the normal map display name, and Instance Name is the name returned by GetInstanceInfo().
If you want to help fill in this list, you can go into an instance and use the command:
/run local t = {GetInstanceInfo()}; print(t[1], "=", t[8])
Which will show just the real instance name, and the InstanceMapID
or use
/dump GetInstanceInfo()
Which will show all of the instance details. Slot [8] is the InstanceMapID, which can be added to the table below.
or use
/run local mid,t = GetCurrentMapAreaID(), {GetInstanceInfo()}; print(t[8], t[1], mid, GetMapNameByID(mid), GetZoneText().."/"..GetRealZoneText())
Which will show: InstanceMapID, Instance Name, MapID, Map Name, Zone Name / Real Zone Name
Legend
- IID - the actual InstanceMapID or Instance ID.
- Instance Name - the actual instance name as returned by GetInstanceInfo()
- MapID - the MapID as returned by GetCurrentMapAreaID()
- Map Name - the actual Map name as returned by GetMapNameByID()
- Zone Name - Zone name returned by GetZoneText() or GetRealZoneText()
- LfgID - Looking for Group dungeon ID as used by GetLFGDungeonInfo()
- Lfg Name - Looking for Group dungeon name
Continents and Areas
| IID | Instance Name | MapID | Map Name | Expansion
|
|---|---|---|---|---|
| 646 | Deepholm | |||
| 860 | The Wandering Isle |
Battlegrounds
| IID | Instance Name | MapID | Map Name | Expansion
|
|---|
Arenas
| IID | Instance Name | Expansion
|
|---|
Garrisons
| IID | Instance Name | Expansion
|
|---|
Classic Dungeons
| IID | Instance Name | MapID | Map Name | Zone Name | Max Players
|
|---|
Classic Raids
| IID | Instance Name | MapID | Map Name | Max Players
|
|---|
Burning Crusade Dungeons
| IID | Instance Name | MapID | Map Name | Max Players
|
|---|
Burning Crusade Raids
| IID | Instance Name | MapID | Map Name | Max Players
|
|---|
WotLK Dungeons
| IID | Instance Name | MapID | Map Name | Max Players
|
|---|
WotLK Raids
| IID | Instance Name | MapID | Map Name | Max Players
|
|---|---|---|---|---|
| ? | Onyxia's Lair |
Cataclysm Dungeons
| IID | Instance Name | MapID | Map Name | Max Players
|
|---|
Cataclysm Raids
| IID | Instance Name | MapID | Map Name | Max Players
|
|---|
Pandaria Dungeons
| IID | Instance Name | MapID | Map Name | Max Players
|
|---|
Pandaria Raids
| IID | Instance Name | MapID | Map Name | Max Players
|
|---|
Warlords Dungeons
| IID | Instance Name | MapID | Map Name | Max Players
|
|---|
Warlords Raids
| IID | Instance Name | MapID | Map Name | Max Players
|
|---|
Legion Dungeons
| IID | Instance Name | MapID | Map Name | Max Players
|
|---|
Legion Raids
| IID | Instance Name | MapID | Map Name | Max Players
|
|---|