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.
|