namespace EDPlayerJournal.Entries; public class MissionFailedEntry : Entry { public string? Name { get; set; } public ulong MissionID { get; set; } public int Fine { get; set; } public string? HumanReadableName { get { if (Name == null) return null; return HumanReadableMissionName.MakeHumanReadableName(Name); } } protected override void Initialise() { Name = JSON.Value("Name"); MissionID = JSON.Value("MissionID") ?? 0; Fine = JSON.Value("Fine") ?? 0; } }