View Single Post
08-31-19, 06:17 PM   #4
kernighan
A Cyclonian
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 45
Originally Posted by Nimhfree View Post
Instead of using the name of the zone as the key you can use Blizzard's mapId as the key. You can also ask the Blizzard API for the localized name of that mapId as well so you do not need to keep it in your structure. Look at the Blizzard API C_Map.GetMapInfo() for what its name and other goodies.
I was thinking of going this route, but a lot of instances have more than one MapID (at least for 8.x). I'd like to have two versions of my addon (one for 8.x, one for classic), but I'm stuck on 8.x because of this issue. I was hoping to find a Classic specific version of https://wow.gamepedia.com/InstanceID/Complete_list to see if it has the same problem. Some of the zones in Classic don't even exist in 8.x either, so that list isn't helpful to me.
  Reply With Quote