-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBossConfig.cs
More file actions
58 lines (44 loc) · 1.71 KB
/
Copy pathBossConfig.cs
File metadata and controls
58 lines (44 loc) · 1.71 KB
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
using Newtonsoft.Json;
namespace EntBossHP
{
public class BossConfig
{
[JsonProperty(PropertyName = "Breakable")]
public List<BreakableConfig> BreakableList { get; set; } = new List<BreakableConfig>();
[JsonProperty(PropertyName = "MathCounter")]
public List<MathCounterConfig> MathCounterList { get; set; } = new List<MathCounterConfig>();
[JsonProperty(PropertyName = "HPBar")]
public List<HPBarConfig> HPBarList { get; set; } = new List<HPBarConfig>();
}
public class BreakableConfig
{
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
[JsonProperty(PropertyName = "breakable")]
public string Breakable { get; set; }
}
public class MathCounterConfig
{
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
[JsonProperty(PropertyName = "mathcounter")]
public string MathCounter { get; set; }
[JsonProperty(PropertyName = "mathcounter_mode")]
public int MathCounterMode { get; set; } = 1;
}
public class HPBarConfig
{
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
[JsonProperty(PropertyName = "mathcounter")]
public string MathCounter { get; set; }
[JsonProperty(PropertyName = "mathcounter_mode")]
public int MathCounterMode { get; set; } = 1;
[JsonProperty(PropertyName = "iterator")]
public string Iterator { get; set; }
[JsonProperty(PropertyName = "iterator_mode")]
public int IteratorMode { get; set; } = 1;
[JsonProperty(PropertyName = "backup")]
public string Backup { get; set; }
}
}