mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-07-01 16:33:43 -04:00
Journals Now processed in own thread
Some invalid journal data is now handled Journals now use polymorphic deserialization Added Event names to all journal events Remove unused controllers
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
public class PowerplayCollect : PowerplayJoin
|
||||
{
|
||||
public override string Event => "PowerplayCollect";
|
||||
public string Type { get; init; }
|
||||
public string Type_Localised { get; init; }
|
||||
public int Count { get; init; }
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
public class PowerplayDefect : JournalBase
|
||||
{
|
||||
public override string Event => "PowerplayDefect";
|
||||
public string FromPower { get; init; }
|
||||
public string ToPower { get; init; }
|
||||
}
|
@ -2,4 +2,5 @@
|
||||
|
||||
public class PowerplayDeliver : PowerplayCollect
|
||||
{
|
||||
public override string Event => "PowerplayDeliver";
|
||||
}
|
@ -2,5 +2,6 @@
|
||||
|
||||
public class PowerplayFastTrack : PowerplayJoin
|
||||
{
|
||||
public override string Event => "PowerplayFastTrack";
|
||||
public int Cost { get; init; }
|
||||
}
|
@ -2,5 +2,6 @@
|
||||
|
||||
public class PowerplayJoin : JournalBase
|
||||
{
|
||||
public override string Event => "PowerplayJoin";
|
||||
public string Power { get; init; }
|
||||
}
|
@ -2,4 +2,5 @@
|
||||
|
||||
public class PowerplayLeave : PowerplayJoin
|
||||
{
|
||||
public override string Event => "PowerplayLeave";
|
||||
}
|
@ -2,5 +2,6 @@
|
||||
|
||||
public class PowerplaySalary : PowerplayJoin
|
||||
{
|
||||
public override string Event => "PowerplaySalary";
|
||||
public int Amount { get; init; }
|
||||
}
|
@ -4,6 +4,7 @@ namespace Observatory.Framework.Files.Journal.Powerplay;
|
||||
|
||||
public class PowerplayVote : PowerplayJoin
|
||||
{
|
||||
public override string Event => "PowerplayVote";
|
||||
public int Votes { get; init; }
|
||||
[JsonPropertyName("")]
|
||||
public int UnnamedValue { get; init; }
|
||||
|
@ -4,5 +4,6 @@ namespace Observatory.Framework.Files.Journal.Powerplay;
|
||||
|
||||
public class PowerplayVoucher : PowerplayJoin
|
||||
{
|
||||
public override string Event => "PowerplayVoucher";
|
||||
public ImmutableList<string> Systems { get; init; }
|
||||
}
|
Reference in New Issue
Block a user