wotbreplay_parser/models/
map_id.rs1use prost::Enumeration;
2use serde_repr::{Deserialize_repr, Serialize_repr};
3
4#[derive(Debug, Serialize_repr, Deserialize_repr, Enumeration, Ord, PartialOrd, Eq, PartialEq)]
5#[serde(untagged)]
6#[repr(u16)]
7pub enum MapId {
8 DesertSands = 2,
9 Middleburg = 3,
10 Copperfield = 4,
11 Alpenstadt = 5,
12 Mines = 6,
13 DeadRail = 7,
14 FortDespair = 8,
15 Himmelsdorf = 9,
16 BlackGoldville = 10,
17 OasisPalms = 11,
18 GhostFactory = 12,
19 Molendijk = 14,
20 PortBay = 15,
21 WinterMalinovka = 19,
22 Castilla = 20,
23 Canal = 21,
24 Vineyards = 23,
25 YamatoHarbor = 25,
26 Canyon = 27,
27 MayanRuins = 30,
28 DynastyPearl = 31,
29 NavalFrontier = 35,
30 FallsCreek = 38,
31 NewBay = 40,
32 Normandy = 42,
33 Wasteland = 71,
34
35 #[serde(deserialize_with = "serde_with::rust::deserialize_ignore_any")]
37 Undefined = 0,
38}