-
Notifications
You must be signed in to change notification settings - Fork 90
Expand file tree
/
Copy pathModuleInfoItem.cs
More file actions
39 lines (31 loc) · 921 Bytes
/
ModuleInfoItem.cs
File metadata and controls
39 lines (31 loc) · 921 Bytes
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
using Newtonsoft.Json;
namespace EddiDataDefinitions
{
public class ModuleInfoItem
{
[JsonProperty]
public string slot { get; set; }
[JsonProperty]
public string item { get; set; }
[JsonProperty]
public decimal power { get; set; }
[JsonProperty]
public int priority { get; set; }
public ModuleInfoItem()
{ }
public ModuleInfoItem(ModuleInfoItem moduleInfoItem)
{
this.slot = moduleInfoItem.slot;
this.item = moduleInfoItem.item;
this.power = moduleInfoItem.power;
this.priority = moduleInfoItem.priority;
}
public ModuleInfoItem(string Slot, string Item, decimal Power, int Priority)
{
this.slot = Slot;
this.item = Item;
this.power = Power;
this.priority = Priority;
}
}
}