2
0
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:
2024-05-24 17:57:10 +10:00
parent ae848e036d
commit efd0b3e0c0
297 changed files with 827 additions and 209 deletions

View File

@ -2,4 +2,5 @@
public class AppliedToSquadron : SquadronCreated
{
public override string Event => "AppliedToSquadron";
}

View File

@ -2,4 +2,5 @@
public class DisbandedSquadron : SquadronCreated
{
public override string Event => "DisbandedSquadron";
}

View File

@ -2,4 +2,5 @@
public class InvitedToSquadron : SquadronCreated
{
public override string Event => "InvitedToSquadron";
}

View File

@ -2,4 +2,5 @@
public class JoinedSquadron : SquadronCreated
{
public override string Event => "JoinedSquadron";
}

View File

@ -2,4 +2,5 @@
public class KickedFromSquadron : SquadronCreated
{
public override string Event => "KickedFromSquadron";
}

View File

@ -2,4 +2,5 @@
public class LeftSquadron : SquadronCreated
{
public override string Event => "LeftSquadron";
}

View File

@ -2,4 +2,5 @@
public class SharedBookmarkToSquadron : SquadronCreated
{
public override string Event => "SharedBookmarkToSquadron";
}

View File

@ -2,5 +2,6 @@
public class SquadronCreated : JournalBase
{
public override string Event => "SquadronCreated";
public string SquadronName { get; init; }
}

View File

@ -2,6 +2,7 @@
public class SquadronDemotion : SquadronCreated
{
public override string Event => "SquadronDemotion";
public int OldRank { get; init; }
public int NewRank { get; init; }
}

View File

@ -2,4 +2,5 @@
public class SquadronPromotion : SquadronDemotion
{
public override string Event => "SquadronPromotion";
}

View File

@ -2,5 +2,6 @@
public class SquadronStartup : SquadronCreated
{
public override string Event => "SquadronStartup";
public int CurrentRank { get; init; }
}

View File

@ -2,4 +2,5 @@
public class WonATrophyForSquadron : SquadronCreated
{
}