2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-04-05 17:39:39 -04:00
Ben Parsons efd0b3e0c0 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
2024-05-24 19:30:12 +10:00

39 lines
1.3 KiB
C#

using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal.Exploration;
/// <summary>
/// Event generated when a body surface scan is completed.
/// </summary>
public class SAAScanComplete : JournalBase
{
public override string Event => "SAAScanComplete";
/// <summary>
/// Unique ID of current system.
/// </summary>
public ulong SystemAddress { get; init; }
/// <summary>
/// Name of the scanned body.
/// </summary>
public string BodyName { get; init; }
/// <summary>
/// ID of the scanned body within the system.
/// </summary>
public int BodyID { get; init; }
/// <summary>
/// This property is indicated with strikethrough in Frontier's documentation and is likely unused.
/// </summary>
public ImmutableList<string> Discoverers { get; init; }
/// <summary>
/// This property is indicated with strikethrough in Frontier's documentation and is likely unused.
/// </summary>
public ImmutableList<string> Mappers { get; init; }
/// <summary>
/// Number of probes fired to complete the surface scan.
/// </summary>
public int ProbesUsed { get; init; }
/// <summary>
/// Maximum number of probes which can be used to get efficiency bonus.
/// </summary>
public int EfficiencyTarget { get; init; }
}