forked from CasualSuperman/OopsAllLalafells
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Race.cs
45 lines (40 loc) · 1006 Bytes
/
Race.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
using System.Collections.Generic;
namespace OopsAllLalafells {
public enum Race : byte {
[Display("Hyur")]
HYUR = 1,
[Display("Elezen")]
ELEZEN = 2,
[Display("Lalafell")]
LALAFELL = 3,
[Display("Miqo'te")]
MIQOTE = 4,
[Display("Roegadyn")]
ROEGADYN = 5,
[Display("Au Ra")]
AU_RA = 6,
[Display("Hrothgar")]
HROTHGAR = 7,
[Display("Viera")]
VIERA = 8
}
public class Display : System.Attribute {
private readonly string _value;
public Display(string value) {
_value = value;
}
public string Value => _value;
}
public class RaceMappings {
public static readonly Dictionary<Race, int> RaceHairs = new Dictionary<Race, int> {
{ Race.HYUR, 13 },
{ Race.ELEZEN, 12 },
{ Race.LALAFELL, 13 },
{ Race.MIQOTE, 12 },
{ Race.ROEGADYN, 13 },
{ Race.AU_RA, 12 },
{ Race.HROTHGAR, 8 },
{ Race.VIERA, 17 },
};
}
}