also change other mission ids
This commit is contained in:
parent
e8df57b55a
commit
bc0d4265d9
@ -1,10 +1,9 @@
|
|||||||
|
|
||||||
namespace EDJournal {
|
namespace EDJournal {
|
||||||
public class MissionAbandonedEntry : Entry {
|
public class MissionAbandonedEntry : Entry {
|
||||||
private int missionid = 0;
|
public ulong MissionID { get; set; }
|
||||||
public int MissionID => missionid;
|
|
||||||
protected override void Initialise() {
|
protected override void Initialise() {
|
||||||
missionid = JSON.Value<int?>("MissionID") ?? 0;
|
MissionID = JSON.Value<ulong?>("MissionID") ?? 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
namespace EDJournal {
|
namespace EDJournal {
|
||||||
public class MissionFailedEntry : Entry {
|
public class MissionFailedEntry : Entry {
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public int MissionID { get; set; }
|
public ulong MissionID { get; set; }
|
||||||
public int Fine { get; set; }
|
public int Fine { get; set; }
|
||||||
|
|
||||||
public string HumanReadableName {
|
public string HumanReadableName {
|
||||||
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
protected override void Initialise() {
|
protected override void Initialise() {
|
||||||
Name = JSON.Value<string>("Name") ?? "";
|
Name = JSON.Value<string>("Name") ?? "";
|
||||||
MissionID = JSON.Value<int?>("MissionID") ?? 0;
|
MissionID = JSON.Value<ulong?>("MissionID") ?? 0;
|
||||||
Fine = JSON.Value<int?>("Fine") ?? 0;
|
Fine = JSON.Value<int?>("Fine") ?? 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user