Compare commits
	
		
			3 Commits
		
	
	
		
			99373b47c0
			...
			db192748b0
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| db192748b0 | |||
| a43ade2f3c | |||
| a6b16fd5b8 | 
@ -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() },
 | 
			
		||||
 | 
			
		||||
@ -7,6 +7,7 @@
 | 
			
		||||
  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 more mission names for Thargoid war.
 | 
			
		||||
* Relogs in an on foot combat zone are now properly detected.
 | 
			
		||||
 | 
			
		||||
## 0.2.2 on 07.12.2022
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user