View Single Post
08-31-19, 06:12 PM   #3
Nimhfree
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 267
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.
  Reply With Quote