diff --git a/EDPlayerJournal/BGS/CombatZone.cs b/EDPlayerJournal/BGS/CombatZone.cs
index 178760a..67655f7 100644
--- a/EDPlayerJournal/BGS/CombatZone.cs
+++ b/EDPlayerJournal/BGS/CombatZone.cs
@@ -19,14 +19,24 @@ public class CombatZone : Transaction {
public bool? SpecOps { get; set; }
///
- /// Whether captain was won
+ /// Whether allied captain objective was won
///
- public bool? Captain { get; set; }
+ public bool? AlliedCaptain { get; set; }
///
- /// Whether correspondent objective was won
+ /// Whether enemy captain objective was won
///
- public bool? Correspondent { get; set; }
+ public bool? EnemyCaptain { get; set; }
+
+ ///
+ /// Whether the allied correspondent objective was won
+ ///
+ public bool? AlliedCorrespondent { get; set; }
+
+ ///
+ /// Whether the enemy correspondent objective was won
+ ///
+ public bool? EnemyCorrespondent { get; set; }
///
/// Whether cap ship objective was won
@@ -41,7 +51,14 @@ public class CombatZone : Transaction {
if (IsGround) {
return 0;
}
- return new List() { SpecOps, Captain, Correspondent, CapitalShip }
+ return new List() {
+ SpecOps,
+ AlliedCaptain,
+ EnemyCaptain,
+ AlliedCorrespondent,
+ EnemyCorrespondent,
+ CapitalShip
+ }
.Where(x => x != null && x == true)
.Count()
;
diff --git a/EDPlayerJournal/BGS/TransactionParserContext.cs b/EDPlayerJournal/BGS/TransactionParserContext.cs
index 6170d17..0d64532 100644
--- a/EDPlayerJournal/BGS/TransactionParserContext.cs
+++ b/EDPlayerJournal/BGS/TransactionParserContext.cs
@@ -222,8 +222,8 @@ internal class TransactionParserContext {
// Sad truth is, if HaveSeenXXX is false, we just don't know for certain
CapitalShip = HaveSeenCapShip ? true : null,
SpecOps = HaveSeenSpecOps ? true : null,
- Correspondent = HaveSeenCorrespondent ? true : null,
- Captain = HaveSeenCaptain ? true : null,
+ EnemyCorrespondent = HaveSeenCorrespondent ? true : null,
+ EnemyCaptain = HaveSeenCaptain ? true : null,
};
zone.Entries.Add(e);
transactions.Add(zone);
diff --git a/EliteBGS/MainWindow.xaml b/EliteBGS/MainWindow.xaml
index b4b9086..4608027 100644
--- a/EliteBGS/MainWindow.xaml
+++ b/EliteBGS/MainWindow.xaml
@@ -120,8 +120,10 @@
-
-
+
+
+
+
diff --git a/EliteBGS/Objective.cs b/EliteBGS/Objective.cs
index 644d5a2..bd7227d 100644
--- a/EliteBGS/Objective.cs
+++ b/EliteBGS/Objective.cs
@@ -120,14 +120,14 @@ public class UITransaction : INotifyPropertyChanged {
}
}
- public bool HasCaptain {
+ public bool HasEnemyCaptain {
get {
CombatZone combat = Transaction as CombatZone;
if (combat == null) {
return false;
}
- return combat.Captain ?? false;
+ return combat.EnemyCaptain ?? false;
}
set {
CombatZone combat = Transaction as CombatZone;
@@ -135,18 +135,18 @@ public class UITransaction : INotifyPropertyChanged {
return;
}
- combat.Captain = value;
+ combat.EnemyCaptain = value;
}
}
- public bool HasCorrespondent {
+ public bool HasAlliedCaptain {
get {
CombatZone combat = Transaction as CombatZone;
if (combat == null) {
return false;
}
- return combat.Correspondent ?? false;
+ return combat.AlliedCaptain ?? false;
}
set {
CombatZone combat = Transaction as CombatZone;
@@ -154,7 +154,45 @@ public class UITransaction : INotifyPropertyChanged {
return;
}
- combat.Correspondent = value;
+ combat.AlliedCaptain = value;
+ }
+ }
+
+ public bool HasEnemyCorrespondent {
+ get {
+ CombatZone combat = Transaction as CombatZone;
+ if (combat == null) {
+ return false;
+ }
+
+ return combat.EnemyCorrespondent ?? false;
+ }
+ set {
+ CombatZone combat = Transaction as CombatZone;
+ if (combat == null) {
+ return;
+ }
+
+ combat.EnemyCorrespondent = value;
+ }
+ }
+
+ public bool HasAlliedCorrespondent {
+ get {
+ CombatZone combat = Transaction as CombatZone;
+ if (combat == null) {
+ return false;
+ }
+
+ return combat.AlliedCorrespondent ?? false;
+ }
+ set {
+ CombatZone combat = Transaction as CombatZone;
+ if (combat == null) {
+ return;
+ }
+
+ combat.AlliedCorrespondent = value;
}
}