Compare commits

..

No commits in common. "db192748b0375bfcead0b317585e89b9f6ccf246" and "99373b47c088550f31d91707208997720f45010e" have entirely different histories.

2 changed files with 1 additions and 12 deletions

View File

@ -86,7 +86,7 @@ internal class TransactionParserContext {
if (OnFootKills > 0 || IsOnFoot == true) { if (OnFootKills > 0 || IsOnFoot == true) {
cztype = CombatZones.GroundCombatZone; cztype = CombatZones.GroundCombatZone;
// High on foot combat zones have enforcers that bring 80k a pop // High on foot combat zones have enforcers that bring 80k a pop
if (highest >= 60000) { if (highest >= 80000) {
grade = CombatZones.DifficultyHigh; grade = CombatZones.DifficultyHigh;
} else if (highest >= 30000) { } else if (highest >= 30000) {
// In medium conflict zones, the enforcers are worth 30k // In medium conflict zones, the enforcers are worth 30k
@ -902,20 +902,10 @@ internal class DropshipDeployParser : TransactionParserPart {
} }
} }
internal class CommanderParser : TransactionParserPart {
public void Parse(Entry entry, TransactionParserContext context, TransactionList transactions) {
// A commander entry happens when you log out, and log back in again
// for example when switching from Open, to Solo or PG.
context.DiscernCombatZone(transactions, entry);
context.ResetCombatZone();
}
}
public class TransactionParser { public class TransactionParser {
private static Dictionary<string, TransactionParserPart> ParserParts { get; } = new() private static Dictionary<string, TransactionParserPart> ParserParts { get; } = new()
{ {
{ Events.CapShipBond, new CapShipBondParser() }, { Events.CapShipBond, new CapShipBondParser() },
{ Events.Commander, new CommanderParser() },
{ Events.CommitCrime, new CommitCrimeParser() }, { Events.CommitCrime, new CommitCrimeParser() },
{ Events.Died, new DiedParser() }, { Events.Died, new DiedParser() },
{ Events.Disembark, new EmbarkDisembarkParser() }, { Events.Disembark, new EmbarkDisembarkParser() },

View File

@ -7,7 +7,6 @@
pick up missions done the previous day, and completed at the selected day. pick up missions done the previous day, and completed at the selected day.
* Add support for ground combat zones when done using Frontier Solutions (DropshipDeploy). * Add support for ground combat zones when done using Frontier Solutions (DropshipDeploy).
* Add more mission names for Thargoid war. * Add more mission names for Thargoid war.
* Relogs in an on foot combat zone are now properly detected.
## 0.2.2 on 07.12.2022 ## 0.2.2 on 07.12.2022