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
52 changed files with 826 additions and 208 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
public class AfmuRepairs : JournalBase
|
||||
{
|
||||
public override string Event => "AfmuRepairs";
|
||||
public string Module { get; init; }
|
||||
public string Module_Localised { get; init; }
|
||||
public bool FullyRepaired { get; init; }
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ namespace Observatory.Framework.Files.Journal.Other;
|
|||
|
||||
public class ApproachSettlement : JournalBase
|
||||
{
|
||||
public override string Event => "ApproachSettlement";
|
||||
public ulong SystemAddress { get; init; }
|
||||
public string Name { get; init; }
|
||||
public string Name_Localised { get; init; }
|
||||
|
|
|
|||
|
|
@ -5,5 +5,6 @@ namespace Observatory.Framework.Files.Journal.Other;
|
|||
|
||||
public class CargoTransfer : JournalBase
|
||||
{
|
||||
public override string Event => "CargoTransfer";
|
||||
public ImmutableList<CargoTransferDetail> Transfers { get; init; }
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
public class ChangeCrewRole : JournalBase
|
||||
{
|
||||
public override string Event => "ChangeCrewRole";
|
||||
public string Role { get; init; }
|
||||
public bool Telepresence { get; init; }
|
||||
}
|
||||
|
|
@ -2,4 +2,5 @@
|
|||
|
||||
public class CockpitBreached : JournalBase
|
||||
{
|
||||
public override string Event => "CockpitBreached";
|
||||
}
|
||||
|
|
@ -5,6 +5,7 @@ namespace Observatory.Framework.Files.Journal.Other;
|
|||
|
||||
public class CommitCrime : JournalBase
|
||||
{
|
||||
public override string Event => "CommitCrime";
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public CrimeType CrimeType { get; init; }
|
||||
public string Faction { get; init; }
|
||||
|
|
|
|||
|
|
@ -2,5 +2,6 @@
|
|||
|
||||
public class Continued : JournalBase
|
||||
{
|
||||
public override string Event => "Continued";
|
||||
public int Part { get; init; }
|
||||
}
|
||||
|
|
@ -2,5 +2,6 @@
|
|||
|
||||
public class CrewLaunchFighter : CrewMemberJoins
|
||||
{
|
||||
public override string Event => "CrewLaunchFighter";
|
||||
public ulong ID { get; init; }
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
public class CrewMemberJoins : JournalBase
|
||||
{
|
||||
public override string Event => "CrewMemberJoins";
|
||||
public string Crew { get; init; }
|
||||
public bool Telepresence { get; init; }
|
||||
}
|
||||
|
|
@ -1,4 +1,6 @@
|
|||
namespace Observatory.Framework.Files.Journal.Other;
|
||||
|
||||
public class CrewMemberQuits : CrewMemberJoins
|
||||
{ }
|
||||
{
|
||||
public override string Event => "CrewMemberQuits";
|
||||
}
|
||||
|
|
@ -2,5 +2,6 @@
|
|||
|
||||
public class CrewMemberRoleChange : CrewMemberJoins
|
||||
{
|
||||
public override string Event => "CrewMemberRoleChange";
|
||||
public string Role { get; init; }
|
||||
}
|
||||
|
|
@ -5,6 +5,7 @@ namespace Observatory.Framework.Files.Journal.Other;
|
|||
|
||||
public class CrimeVictim : JournalBase
|
||||
{
|
||||
public override string Event => "CrimeVictim";
|
||||
public string Offender { get; init; }
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public CrimeType CrimeType { get; init; }
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
public class DataScanned : JournalBase
|
||||
{
|
||||
public override string Event => "DataScanned";
|
||||
public string Type { get; init; }
|
||||
public string Type_Localised { get; init; }
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
public class DatalinkScan : JournalBase
|
||||
{
|
||||
public override string Event => "DatalinkScan";
|
||||
public string Message { get; init; }
|
||||
public string Message_Localised { get; init; }
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
public class DatalinkVoucher : JournalBase
|
||||
{
|
||||
public override string Event => "DatalinkVoucher";
|
||||
public int Reward { get; init; }
|
||||
public string VictimFaction { get; init; }
|
||||
public string PayeeFaction { get; init; }
|
||||
|
|
|
|||
|
|
@ -2,5 +2,6 @@
|
|||
|
||||
public class DockFighter : JournalBase
|
||||
{
|
||||
public override string Event => "DockFighter";
|
||||
public ulong ID { get; init; }
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
public class DockSRV : DockFighter
|
||||
{
|
||||
public override string Event => "DockSRV";
|
||||
public string SRVType { get; init; }
|
||||
public string SRVType_Localised { get; init; }
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
public class EndCrewSession : JournalBase
|
||||
{
|
||||
public override string Event => "EndCrewSession";
|
||||
public bool OnCrime { get; init; }
|
||||
public bool Telepresence { get; init; }
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
public class FighterRebuilt : JournalBase
|
||||
{
|
||||
public override string Event => "FighterRebuilt";
|
||||
public string Loadout { get; init; }
|
||||
public ulong ID { get; init; }
|
||||
}
|
||||
|
|
@ -5,6 +5,7 @@ namespace Observatory.Framework.Files.Journal.Other;
|
|||
|
||||
public class Friends : JournalBase
|
||||
{
|
||||
public override string Event => "Friends";
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public FriendStatus Status { get; init; }
|
||||
public string Name { get; init; }
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue