namespace EDPlayerJournal.Entries; public class MissionAcceptedEntry : Entry { public string? Faction { get; set; } public string? TargetFaction { get; set; } public string? Name { get; set; } public string? LocalisedName { get; set; } public string? LocalisedTargetType { get; set; } public int KillCount { get; set; } public ulong MissionID { get; set; } public long Reward { get; set; } protected override void Initialise() { Faction = JSON.Value("Faction"); TargetFaction = JSON.Value("TargetFaction"); Name = JSON.Value("Name"); LocalisedName = JSON.Value("LocalisedName"); LocalisedTargetType = JSON.Value("TargetType_Localised"); KillCount = JSON.Value("KillCount") ?? 0; MissionID = JSON.Value("MissionID") ?? 0; Reward = JSON.Value("Reward") ?? 0; } }