provide faction and target faction in completed missions
This commit is contained in:
parent
69f76ba3fb
commit
2813a19186
@ -15,6 +15,8 @@ namespace EDJournal {
|
||||
protected override void Initialise() {
|
||||
MissionID = JSON.Value<int?>("MissionID") ?? 0;
|
||||
Name = JSON.Value<string>("Name");
|
||||
Faction = JSON.Value<string>("Faction") ?? "";
|
||||
TargetFaction = JSON.Value<string>("TargetFaction") ?? "";
|
||||
if (JSON.ContainsKey("Commodity_Localised")) {
|
||||
Commodity = JSON.Value<string>("Commodity_Localised");
|
||||
}
|
||||
@ -69,6 +71,8 @@ namespace EDJournal {
|
||||
public int Count { get; set; }
|
||||
public int Donated { get; set; }
|
||||
public int MissionID { get; set; }
|
||||
public string Faction { get; set; }
|
||||
public string TargetFaction { get; set; }
|
||||
|
||||
private void MakeHumanReadableName() {
|
||||
if (readable_name != null || Name == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user