add target faction to mission accepted
This commit is contained in:
parent
f94b4084c9
commit
17bf02bef8
@ -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<string>("Faction") ?? "";
|
||||
targetfaction = JSON.Value<string>("TargetFaction") ?? "";
|
||||
name = JSON.Value<string>("Name") ?? "";
|
||||
localisedname = JSON.Value<string>("LocalisedName") ?? "";
|
||||
localisedtargettype = JSON.Value<string>("TargetType_Localised") ?? "";
|
||||
|
Loading…
Reference in New Issue
Block a user