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