From 17bf02bef8f4058c8293dfbe2da0d2fb20786516 Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Sat, 28 Aug 2021 00:10:24 +0200 Subject: [PATCH] add target faction to mission accepted --- MissionAcceptedEntry.cs | 3 +++ 1 file changed, 3 insertions(+) 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") ?? "";