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:
parent
ae848e036d
commit
efd0b3e0c0
297 changed files with 826 additions and 208 deletions
|
|
@ -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; }
|
||||
}
|
||||
Loading…
Reference in a new issue