also change other mission ids

This commit is contained in:
Florian Stinglmayr 2022-02-14 17:46:53 +01:00
parent e8df57b55a
commit bc0d4265d9
2 changed files with 4 additions and 5 deletions

View File

@ -1,10 +1,9 @@

namespace EDJournal {
public class MissionAbandonedEntry : Entry {
private int missionid = 0;
public int MissionID => missionid;
public ulong MissionID { get; set; }
protected override void Initialise() {
missionid = JSON.Value<int?>("MissionID") ?? 0;
MissionID = JSON.Value<ulong?>("MissionID") ?? 0;
}
}
}

View File

@ -1,7 +1,7 @@
namespace EDJournal {
public class MissionFailedEntry : Entry {
public string Name { get; set; }
public int MissionID { get; set; }
public ulong MissionID { get; set; }
public int Fine { get; set; }
public string HumanReadableName {
@ -12,7 +12,7 @@
protected override void Initialise() {
Name = JSON.Value<string>("Name") ?? "";
MissionID = JSON.Value<int?>("MissionID") ?? 0;
MissionID = JSON.Value<ulong?>("MissionID") ?? 0;
Fine = JSON.Value<int?>("Fine") ?? 0;
}
}