|
|
|
|
@@ -86,7 +86,7 @@ internal class TransactionParserContext {
|
|
|
|
|
if (OnFootKills > 0 || IsOnFoot == true) {
|
|
|
|
|
cztype = CombatZones.GroundCombatZone;
|
|
|
|
|
// High on foot combat zones have enforcers that bring 80k a pop
|
|
|
|
|
if (highest >= 80000) {
|
|
|
|
|
if (highest >= 60000) {
|
|
|
|
|
grade = CombatZones.DifficultyHigh;
|
|
|
|
|
} else if (highest >= 30000) {
|
|
|
|
|
// In medium conflict zones, the enforcers are worth 30k
|
|
|
|
|
@@ -902,10 +902,20 @@ 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 {
|
|
|
|
|
private static Dictionary<string, TransactionParserPart> ParserParts { get; } = new()
|
|
|
|
|
{
|
|
|
|
|
{ Events.CapShipBond, new CapShipBondParser() },
|
|
|
|
|
{ Events.Commander, new CommanderParser() },
|
|
|
|
|
{ Events.CommitCrime, new CommitCrimeParser() },
|
|
|
|
|
{ Events.Died, new DiedParser() },
|
|
|
|
|
{ Events.Disembark, new EmbarkDisembarkParser() },
|
|
|
|
|
|