-
Notifications
You must be signed in to change notification settings - Fork 0
/
ArcadianPartData.cs
59 lines (50 loc) · 1008 Bytes
/
ArcadianPartData.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
namespace ORARenderer
{
using System;
using System.Collections.Generic;
[Serializable]
public class PartsLoadRequest
{
public string Name;
public string Location;
}
[Serializable]
public class ArcadianLoadRequest
{
public List<PartsLoadRequest> Parts = new List<PartsLoadRequest>();
}
[Serializable]
public class PartData
{
public PartData() { }
public PartData(PartData copy)
{
Name = copy.Name;
Location = copy.Location;
Src = copy.Src;
Opacity = copy.Opacity;
PosX = copy.PosX;
PosY = copy.PosY;
}
public string Name;
public string Location;
public byte[] Src;
public float Opacity;
public int PosX;
public int PosY;
}
[Serializable]
public class LocationData
{
public string Name;
public List<PartData> Parts = new List<PartData>();
public float Opacity;
}
[Serializable]
public class ArcadianParts
{
public int canvasSizeW;
public int canvasSizeH;
public List<LocationData> Locations = new List<LocationData>();
}
}