Files
2026-11-23 03:28:32 +02:00

211 lines
7.2 KiB
C++

// SPDX-License-Identifier: GPL-2.0-or-later
// Generated from the current Octo client DBFilesClient/AreaTable.dbc (1.12 layout):
// top-level zones (ParentAreaID 0), enUS AreaName, AREA_FLAG_CAPITAL (0x100). The 1.12
// client names zone channels "<Prefix> - <zone>" and city-only ones "<Prefix> - City"
// (the single AREA_FLAG_CITY 0x200 area, ID 3459).
#pragma once
#include <cstdint>
#include <string_view>
namespace gateway::source_zones {
struct Zone {uint32_t id;std::string_view name;bool capital;};
inline constexpr Zone Zones[]={
{1,"Dun Morogh",false},
{3,"Badlands",false},
{4,"Blasted Lands",false},
{8,"Swamp of Sorrows",false},
{10,"Duskwood",false},
{11,"Wetlands",false},
{12,"Elwynn Forest",false},
{14,"Durotar",false},
{15,"Dustwallow Marsh",false},
{16,"Azshara",false},
{17,"The Barrens",false},
{21,"Kul Tiras",false},
{22,"Programmer Isle",false},
{25,"Blackrock Mountain",false},
{28,"Western Plaguelands",false},
{30,"Nine",false},
{33,"Stranglethorn Vale",false},
{36,"Alterac Mountains",false},
{38,"Loch Modan",false},
{40,"Westfall",false},
{41,"Deadwind Pass",false},
{44,"Redridge Mountains",false},
{45,"Arathi Highlands",false},
{46,"Burning Steppes",false},
{47,"The Hinterlands",false},
{51,"Searing Gorge",false},
{66,"***On Map Dungeon***",false},
{85,"Tirisfal Glades",false},
{130,"Silverpine Forest",false},
{139,"Eastern Plaguelands",false},
{141,"Teldrassil",false},
{148,"Darkshore",false},
{151,"Designer Island",false},
{170,"Lordamere Lake",false},
{206,"Westfall",false},
{207,"The Great Sea",false},
{208,"Unused Ironcladcove",false},
{209,"Shadowfang Keep",false},
{210,"***On Map Dungeon***",false},
{214,"The Great Sea",false},
{215,"Mulgore",false},
{267,"Hillsbrad Foothills",false},
{269,"Dun Algaz",false},
{276,"UNUSED Stonewrought Pass",false},
{293,"Thoradin's Wall",false},
{296,"South Seas",false},
{308,"The Forbidding Sea",false},
{330,"Thandol Span",false},
{331,"Ashenvale",false},
{332,"The Great Sea",false},
{357,"Feralas",false},
{361,"Felwood",false},
{377,"Southfury River",false},
{394,"Darrowmere Lake UNUSED",false},
{400,"Thousand Needles",false},
{405,"Desolace",false},
{406,"Stonetalon Mountains",false},
{408,"Gillijim's Isle",false},
{409,"Lapidis Isle",false},
{440,"Tanaris",false},
{457,"The Veiled Sea",false},
{490,"Un'Goro Crater",false},
{491,"Razorfen Kraul",false},
{493,"Moonglade",false},
{495,"DELETE ME",false},
{616,"Hyjal",false},
{618,"Winterspring",false},
{717,"The Stockade",false},
{718,"Wailing Caverns",false},
{719,"Blackfathom Deeps",false},
{721,"Gnomeregan",false},
{722,"Razorfen Downs",false},
{796,"Scarlet Monastery",false},
{876,"GM Island",false},
{956,"The Verdant Fields",false},
{1176,"Zul'Farrak",false},
{1196,"UNUSEDAlcaz Island",false},
{1337,"Uldaman",false},
{1377,"Silithus",false},
{1397,"Emerald Forest",false},
{1417,"Sunken Temple",false},
{1477,"The Temple of Atal'Hakkar",false},
{1497,"Undercity",true},
{1519,"Stormwind City",true},
{1537,"Ironforge",true},
{1579,"Unused The Deadmines 002",false},
{1581,"The Deadmines",false},
{1583,"Blackrock Spire",false},
{1584,"Blackrock Depths",false},
{1637,"Orgrimmar",true},
{1638,"Thunder Bluff",true},
{1657,"Darnassus",true},
{1769,"Timbermaw Tunnels",false},
{1941,"Caverns of Time",false},
{1977,"Zul'Gurub",false},
{2017,"Stratholme",false},
{2037,"Quel'Thalas",false},
{2038,"UNUSEDShadowfang Keep 003",false},
{2040,"Alah'Thalas",true},
{2057,"Scholomance",false},
{2100,"Maraudon",false},
{2159,"Onyxia's Lair",false},
{2257,"Deeprun Tram",false},
{2280,"UNUSED Stratholme",false},
{2366,"The Black Morass",false},
{2367,"Old Hillsbrad Foothills",false},
{2437,"Ragefire Chasm",false},
{2557,"Dire Maul",false},
{2597,"Alterac Valley",false},
{2677,"Blackwing Lair",false},
{2717,"Molten Core",false},
{2817,"***On Map Dungeon***",false},
{2917,"Hall of Legends",false},
{2918,"Champions' Hall",false},
{3277,"Warsong Gulch",false},
{3358,"Arathi Basin",false},
{3428,"Ahn'Qiraj",false},
{3429,"Ruins of Ahn'Qiraj",false},
{3456,"Naxxramas",false},
{3457,"Tower of Karazhan",false},
{3478,"Gates of Ahn'Qiraj",false},
{4012,"Scarlet Enclave",false},
{4013,"Lordaeron Arena",false},
{4014,"Blood Ring",false},
{4015,"Isle of the Spirits",false},
{4016,"Kamio",false},
{5015,"The Highlands",false},
{5023,"Sunnyglade Valley",false},
{5024,"Icepoint Rock",false},
{5027,"North Sea",false},
{5053,"Moomoo Grove",false},
{5077,"Crescent Grove",false},
{5086,"Karazhan Crypt",false},
{5087,"Stormwind Vault",false},
{5097,"Emerald Sanctum",false},
{5098,"Hateforge Quarry",false},
{5103,"Hateforge Quarry",false},
{5121,"Tel'Abim",false},
{5130,"Winter Veil Vale",false},
{5132,"Shadowfang Keep",false},
{5134,"Gnomeregan",false},
{5135,"Scarlet Monastery Library",false},
{5136,"Scarlet Monastery Graveyard",false},
{5137,"The Temple of Atal'Hakkar",false},
{5138,"The Deadmines",false},
{5139,"Blackrock Spire",false},
{5140,"Blackrock Depths",false},
{5142,"Scholomance",false},
{5144,"Deeprun Tram",false},
{5145,"Dire Maul",false},
{5146,"Blackwing Lair",false},
{5147,"Ahn'Qiraj",false},
{5148,"The Upper Necropolis",false},
{5150,"Shadowfang Keep",false},
{5152,"Gnomeregan",false},
{5153,"Scarlet Monastery Armory",false},
{5154,"The Temple of Atal'Hakkar",false},
{5155,"Blackrock Spire",false},
{5156,"Scholomance",false},
{5157,"Dire Maul",false},
{5158,"Blackwing Lair",false},
{5161,"Shadowfang Keep",false},
{5162,"Gnomeregan",false},
{5163,"Scarlet Monastery Cathedral",false},
{5164,"Blackrock Spire",false},
{5165,"Scholomance",false},
{5166,"Dire Maul",false},
{5167,"Blackwing Lair",false},
{5169,"Shadowfang Keep",false},
{5170,"Blackrock Spire",false},
{5171,"Dire Maul",false},
{5173,"Shadowfang Keep",false},
{5174,"Blackrock Spire",false},
{5175,"Dire Maul",false},
{5177,"Shadowfang Keep",false},
{5178,"Blackrock Spire",false},
{5179,"Gilneas",false},
{5204,"The Black Morass",false},
{5208,"Gilneas City",false},
{5225,"Thalassian Highlands",false},
{5536,"Blackstone Island",false},
{5557,"The Rock of Desolation",false},
{5561,"Balor",false},
{5581,"Northwind",false},
{5601,"Dragonmaw Retreat",false},
{5602,"Grim Reaches",false},
{5628,"Stormwrought Ruins",false},
{5634,"Zuluhed's Terrace",false},
{5638,"Sunstrider Court",false},
{5640,"Timbermaw Hold",false},
{5641,"Windhorn Canyon",false},
{5642,"Moonwhisper Coast",false},
{5722,"Thorn Gorge",false},
{5723,"Lower Karazhan Halls",false},
{5731,"Windhorn Caverns",false},
{5734,"Frostmane Hollow",false},
};
inline const Zone* find(uint32_t id){for(const auto& z:Zones)if(z.id==id)return &z;return nullptr;}
}