diff --git a/MissionAcceptedEntry.cs b/MissionAcceptedEntry.cs index 865aa71..0df0909 100644 --- a/MissionAcceptedEntry.cs +++ b/MissionAcceptedEntry.cs @@ -2,6 +2,7 @@ namespace EDJournal { public class MissionAcceptedEntry : Entry { private string faction = null; + private string targetfaction = null; private string name = null; private string localisedname = null; private string localisedtargettype = null; @@ -10,6 +11,7 @@ namespace EDJournal { private int reward = 0; public string Faction => faction; + public string TargetFaction => targetfaction; public string Name => name; public string LocalisedName => localisedname; public string LocalisedTargetType => localisedtargettype; @@ -19,6 +21,7 @@ namespace EDJournal { 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") ?? "";