edjournal/MissionFailedEntry.cs

14 lines
422 B
C#
Raw Normal View History

2021-11-12 21:49:37 +01:00
namespace EDJournal {
public class MissionFailedEntry : Entry {
public string Name { get; set; }
public int MissionID { get; set; }
public int Fine { get; set; }
protected override void Initialise() {
Name = JSON.Value<string>("Name") ?? "";
MissionID = JSON.Value<int?>("MissionID") ?? 0;
Fine = JSON.Value<int?>("Fine") ?? 0;
}
}
}