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:
@ -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; }
|
||||
|
@ -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; }
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -2,5 +2,6 @@
|
||||
|
||||
public class FighterDestroyed : JournalBase
|
||||
{
|
||||
public override string Event => "FighterDestroyed";
|
||||
public ulong ID { get; init; }
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
namespace Observatory.Framework.Files.Journal.Combat;
|
||||
|
||||
public class HeatDamage : JournalBase
|
||||
{ }
|
||||
{
|
||||
public override string Event => "HeatDamage";
|
||||
}
|
@ -2,4 +2,5 @@
|
||||
|
||||
public class HeatWarning : JournalBase
|
||||
{
|
||||
public override string Event => "HeatWarning";
|
||||
}
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
public class PVPKill : JournalBase
|
||||
{
|
||||
public override string Event => "PVPKill";
|
||||
public string Victim { get; init; }
|
||||
public int CombatRank { get; init; }
|
||||
}
|
@ -2,6 +2,7 @@
|
||||
|
||||
public class SRVDestroyed : JournalBase
|
||||
{
|
||||
public override string Event => "SRVDestroyed";
|
||||
public string SRVType { get; init; }
|
||||
public string SRVType_Localised { get; init; }
|
||||
}
|
@ -2,5 +2,6 @@
|
||||
|
||||
public class ShieldState : JournalBase
|
||||
{
|
||||
public override string Event => "ShieldState";
|
||||
public bool ShieldsUp { get; init; }
|
||||
}
|
@ -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; }
|
||||
|
@ -2,5 +2,6 @@
|
||||
|
||||
public class UnderAttack : JournalBase
|
||||
{
|
||||
public override string Event => "UnderAttack";
|
||||
public string Target { get; init; }
|
||||
}
|
Reference in New Issue
Block a user