2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-07-01 08:23:42 -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

@ -5,6 +5,7 @@ namespace Observatory.Framework.Files.Journal.Combat;
public class Bounty : JournalBase
{
public override string Event => "Bounty";
public ImmutableList<Rewards> Rewards { get; init; }
public string PilotName { get; set; }
public string PilotName_Localised { get; set; }

View File

@ -1,7 +1,8 @@
namespace Observatory.Framework.Files.Journal.Combat;
public class CapShipBound : JournalBase
public class CapShipBond : JournalBase
{
public override string Event => "CapShipBond";
public long Reward { get; init; }
public string AwardingFaction { get; init; }
public string VictimFaction { get; init; }

View File

@ -5,6 +5,7 @@ namespace Observatory.Framework.Files.Journal.Combat;
public class Died : JournalBase
{
public override string Event => "Died";
public string KillerName { get; init; }
public string KillerName_Localised { get; init; }
public string KillerShip { get; init; }

View File

@ -2,6 +2,7 @@
public class EscapeInterdiction : JournalBase
{
public override string Event => "EscapeInterdiction";
public string Interdictor { get; init; }
public bool IsPlayer { get; init; }
public bool IsThargoid { get; init; }

View File

@ -2,6 +2,7 @@
public class FactionKillBond : JournalBase
{
public override string Event => "FactionKillBond";
public long Reward { get; init; }
public string AwardingFaction { get; init; }
public string AwardingFaction_Localised { get; init; }

View File

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

View File

@ -1,4 +1,6 @@
namespace Observatory.Framework.Files.Journal.Combat;
public class HeatDamage : JournalBase
{ }
{
public override string Event => "HeatDamage";
}

View File

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

View File

@ -2,6 +2,7 @@
public class HullDamage : JournalBase
{
public override string Event => "HullDamage";
public float Health { get; init; }
public bool PlayerPilot { get; init; }
public bool Fighter { get; init; }

View File

@ -2,6 +2,7 @@
public class Interdicted : JournalBase
{
public override string Event => "Interdicted";
public bool Submitted { get; init; }
public string Interdictor { get; init; }
public string Interdictor_Localised { get; init; }

View File

@ -2,6 +2,7 @@
public class Interdiction : JournalBase
{
public override string Event => "Interdiction";
public bool Success { get; init; }
public string Interdictor { get; init; }
public bool IsPlayer { get; init; }

View File

@ -2,6 +2,7 @@
public class PVPKill : JournalBase
{
public override string Event => "PVPKill";
public string Victim { get; init; }
public int CombatRank { get; init; }
}

View File

@ -2,6 +2,7 @@
public class SRVDestroyed : JournalBase
{
public override string Event => "SRVDestroyed";
public string SRVType { get; init; }
public string SRVType_Localised { get; init; }
}

View File

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

View File

@ -2,6 +2,7 @@
public class ShipTargeted : JournalBase
{
public override string Event => "ShipTargeted";
public bool TargetLocked { get; init; }
public string Ship { get; init; }
public string Ship_Localised { get; init; }

View File

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