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:
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -5,6 +5,7 @@
|
||||
/// </summary>
|
||||
public class DiscoveryScan : JournalBase
|
||||
{
|
||||
public override string Event => "DiscoveryScan";
|
||||
/// <summary>
|
||||
/// Unique ID of system.
|
||||
/// </summary>
|
||||
|
@ -5,6 +5,8 @@
|
||||
/// </summary>
|
||||
public class FSSAllBodiesFound : JournalBase
|
||||
{
|
||||
public override string Event => "FSSAllBodiesFound";
|
||||
|
||||
/// <summary>
|
||||
/// Name of the system.
|
||||
/// </summary>
|
||||
|
@ -5,4 +5,5 @@
|
||||
/// </summary>
|
||||
public class FSSBodySignals : SAASignalsFound
|
||||
{
|
||||
public override string Event => "FSSBodySignals";
|
||||
}
|
@ -5,6 +5,7 @@
|
||||
/// </summary>
|
||||
public class FSSDiscoveryScan : JournalBase
|
||||
{
|
||||
public override string Event => "FSSDiscoveryScan";
|
||||
/// <summary>
|
||||
/// Name of the current system.
|
||||
/// </summary>
|
||||
|
@ -5,6 +5,7 @@
|
||||
/// </summary>
|
||||
public class FSSSignalDiscovered : JournalBase
|
||||
{
|
||||
public override string Event => "FSSSignalDiscovered";
|
||||
/// <summary>
|
||||
/// Name of the signal type.
|
||||
/// </summary>
|
||||
|
@ -5,6 +5,7 @@
|
||||
/// </summary>
|
||||
public class MaterialCollected : JournalBase
|
||||
{
|
||||
public override string Event => "MaterialCollected";
|
||||
/// <summary>
|
||||
/// Category to which the material belongs.
|
||||
/// </summary>
|
||||
|
@ -5,4 +5,5 @@
|
||||
/// </summary>
|
||||
public class MaterialDiscarded : MaterialCollected
|
||||
{
|
||||
public override string Event => "MaterialDiscarded";
|
||||
}
|
@ -5,6 +5,7 @@
|
||||
/// </summary>
|
||||
public class MaterialDiscovered : JournalBase
|
||||
{
|
||||
public override string Event => "MaterialDiscovered";
|
||||
/// <summary>
|
||||
/// Category of the material.
|
||||
/// </summary>
|
||||
|
@ -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>
|
||||
|
@ -5,6 +5,7 @@
|
||||
/// </summary>
|
||||
public class NavBeaconScan : JournalBase
|
||||
{
|
||||
public override string Event => "NavBeaconScan";
|
||||
/// <summary>
|
||||
/// Number of bodies in system.
|
||||
/// </summary>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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.
|
||||
|
@ -5,6 +5,7 @@
|
||||
/// </summary>
|
||||
public class ScanBaryCentre : JournalBase
|
||||
{
|
||||
public override string Event => "ScanBaryCentre";
|
||||
/// <summary>
|
||||
/// Name of star system containing scanned body.
|
||||
/// </summary>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user