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

@ -5,6 +5,7 @@
/// </summary>
public class BuyExplorationData : JournalBase
{
public override string Event => "BuyExplorationData";
/// <summary>
/// Name of the system for which data was purchased.
/// </summary>

View File

@ -7,6 +7,7 @@ namespace Observatory.Framework.Files.Journal.Exploration;
/// </summary>
public class CodexEntry : JournalBase
{
public override string Event => "CodexEntry";
/// <summary>
/// Unique ID of the entry.
/// </summary>

View File

@ -5,6 +5,7 @@
/// </summary>
public class DiscoveryScan : JournalBase
{
public override string Event => "DiscoveryScan";
/// <summary>
/// Unique ID of system.
/// </summary>

View File

@ -5,6 +5,8 @@
/// </summary>
public class FSSAllBodiesFound : JournalBase
{
public override string Event => "FSSAllBodiesFound";
/// <summary>
/// Name of the system.
/// </summary>

View File

@ -5,4 +5,5 @@
/// </summary>
public class FSSBodySignals : SAASignalsFound
{
public override string Event => "FSSBodySignals";
}

View File

@ -5,6 +5,7 @@
/// </summary>
public class FSSDiscoveryScan : JournalBase
{
public override string Event => "FSSDiscoveryScan";
/// <summary>
/// Name of the current system.
/// </summary>

View File

@ -5,6 +5,7 @@
/// </summary>
public class FSSSignalDiscovered : JournalBase
{
public override string Event => "FSSSignalDiscovered";
/// <summary>
/// Name of the signal type.
/// </summary>

View File

@ -5,6 +5,7 @@
/// </summary>
public class MaterialCollected : JournalBase
{
public override string Event => "MaterialCollected";
/// <summary>
/// Category to which the material belongs.
/// </summary>

View File

@ -5,4 +5,5 @@
/// </summary>
public class MaterialDiscarded : MaterialCollected
{
public override string Event => "MaterialDiscarded";
}

View File

@ -5,6 +5,7 @@
/// </summary>
public class MaterialDiscovered : JournalBase
{
public override string Event => "MaterialDiscovered";
/// <summary>
/// Category of the material.
/// </summary>

View File

@ -8,6 +8,7 @@ namespace Observatory.Framework.Files.Journal.Exploration;
/// </summary>
public class MultiSellExplorationData : JournalBase
{
public override string Event => "MultiSellExplorationData";
/// <summary>
/// List of all sold first discoveries.
/// </summary>

View File

@ -5,6 +5,7 @@
/// </summary>
public class NavBeaconScan : JournalBase
{
public override string Event => "NavBeaconScan";
/// <summary>
/// Number of bodies in system.
/// </summary>

View File

@ -7,6 +7,7 @@ namespace Observatory.Framework.Files.Journal.Exploration;
/// </summary>
public class SAAScanComplete : JournalBase
{
public override string Event => "SAAScanComplete";
/// <summary>
/// Unique ID of current system.
/// </summary>

View File

@ -8,6 +8,7 @@ namespace Observatory.Framework.Files.Journal.Exploration;
/// </summary>
public class SAASignalsFound : JournalBase
{
public override string Event => "SAASignalsFound";
/// <summary>
/// Unique ID of current system.
/// </summary>

View File

@ -10,6 +10,7 @@ namespace Observatory.Framework.Files.Journal.Exploration;
/// </summary>
public class Scan : ScanBaryCentre
{
public override string Event => "Scan";
/// <summary>
/// Type of scan which generated the event. Possible options include "Detailed", "AutoScan", and "NavBeaconDetail" (non-exhaustive).
/// </summary>
@ -119,6 +120,7 @@ public class Scan : ScanBaryCentre
/// <summary>
/// Rotation period of body in seconds.
/// </summary>
[JsonConverter(typeof(JournalInvalidFloatConverter))]
public float RotationPeriod { get; init; }
/// <summary>
/// Axial tilt of body in radians.

View File

@ -5,6 +5,7 @@
/// </summary>
public class ScanBaryCentre : JournalBase
{
public override string Event => "ScanBaryCentre";
/// <summary>
/// Name of star system containing scanned body.
/// </summary>

View File

@ -5,6 +5,7 @@
/// </summary>
public class Screenshot : JournalBase
{
public override string Event => "Screenshot";
/// <summary>
/// <para>Filename of the screenshot taken in the form of "\\ED Pictures\\filename"</para>
/// <para>"\\ED Pictures\\" corresponds to "%userprofile%\Pictures\Frontier Developments\Elite Dangerous\"</para>

View File

@ -7,6 +7,7 @@ namespace Observatory.Framework.Files.Journal.Exploration;
/// </summary>
public class SellExplorationData : JournalBase
{
public override string Event => "SellExplorationData";
/// <summary>
/// List of systems for which data was sold.
/// </summary>