-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWorlds.cs
61 lines (57 loc) · 1.19 KB
/
Worlds.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZwiftPower
{
public static class Worlds
{
public static Dictionary<string, int> Ids = new Dictionary<string, int>
{
["WATOPIA"] = 1,
["RICHMOND"] = 2,
["LONDON"] = 3,
["NEWYORK"] = 4,
["INNSBRUCK"] = 5,
["BOLOGNATT"] = 6,
["YORKSHIRE"] = 7,
["CRITCITY"] = 8,
["MAKURIISLANDS"] = 9,
["FRANCE"] = 10,
["PARIS"] = 11
};
public static Dictionary<int, string> Names = new Dictionary<int, string>
{
[1] = "Watopia",
[2] = "Richmond",
[3] = "London",
[4] = "New York",
[5] = "Innsbruck",
[6] = "Bologna",
[7] = "Yorkshire",
[8] = "Crit City",
[9] = "Makuri Islands",
[10] = "France",
[11] = "Paris"
};
public static Dictionary<string, int> ReverseNames = new Dictionary<string, int>
{
["Watopia"] = 1,
["Richmond"] = 2,
["London"] = 3,
["New York"] = 4,
["Innsbruck"] = 5,
["Bologna"] = 6,
["Yorkshire"] = 7,
["Crit City"] = 8,
["Makuri Islands"] = 9,
["France"] = 10,
["Paris"] = 11
};
public static int GetId(string world)
{
return Ids[world.ToUpper()];
}
}
}