missionids seem to require ulong

This commit is contained in:
Florian Stinglmayr 2022-02-14 17:45:41 +01:00
parent 6784eba6c6
commit e8df57b55a

View File

@ -13,7 +13,7 @@ namespace EDJournal {
public Dictionary<string, Dictionary<ulong, string>> Influences => influences; public Dictionary<string, Dictionary<ulong, string>> Influences => influences;
protected override void Initialise() { protected override void Initialise() {
MissionID = JSON.Value<int?>("MissionID") ?? 0; MissionID = JSON.Value<ulong?>("MissionID") ?? 0;
Name = JSON.Value<string>("Name"); Name = JSON.Value<string>("Name");
Faction = JSON.Value<string>("Faction") ?? ""; Faction = JSON.Value<string>("Faction") ?? "";
TargetFaction = JSON.Value<string>("TargetFaction") ?? ""; TargetFaction = JSON.Value<string>("TargetFaction") ?? "";
@ -70,7 +70,7 @@ namespace EDJournal {
public string Commodity { get; set; } public string Commodity { get; set; }
public int Count { get; set; } public int Count { get; set; }
public int Donated { get; set; } public int Donated { get; set; }
public int MissionID { get; set; } public ulong MissionID { get; set; }
public string Faction { get; set; } public string Faction { get; set; }
public string TargetFaction { get; set; } public string TargetFaction { get; set; }