-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathCargoInfoItem.cs
More file actions
38 lines (31 loc) · 920 Bytes
/
CargoInfoItem.cs
File metadata and controls
38 lines (31 loc) · 920 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
using Newtonsoft.Json;
namespace EddiDataDefinitions
{
public class CargoInfoItem
{
[JsonProperty]
public string name { get; set; }
[JsonProperty]
public ulong? missionid { get; set; }
[JsonProperty]
public int count { get; set; }
[JsonProperty]
public int stolen { get; set; }
public CargoInfoItem()
{ }
public CargoInfoItem(CargoInfoItem cargoInfoItem)
{
this.name = cargoInfoItem.name;
this.missionid = cargoInfoItem.missionid;
this.count = cargoInfoItem.count;
this.stolen = cargoInfoItem.stolen;
}
public CargoInfoItem(string Name, ulong? MissionID, int Count, int Stolen)
{
this.name = Name;
this.missionid = MissionID;
this.count = Count;
this.stolen = Stolen;
}
}
}