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

31 lines
1.0 KiB
C#

using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal.Exploration;
/// <summary>
/// Event generated when selling exploration data. Historically also written for multi-selling, but used only for single system sales in current live game client.
/// </summary>
public class SellExplorationData : JournalBase
{
public override string Event => "SellExplorationData";
/// <summary>
/// List of systems for which data was sold.
/// </summary>
public ImmutableList<string> Systems { get; init; }
/// <summary>
/// List of first discovered bodies.
/// </summary>
public ImmutableList<string> Discovered { get; init; }
/// <summary>
/// Base value of sold data.
/// </summary>
public long BaseValue { get; init; }
/// <summary>
/// Extra amount from bonuses.
/// </summary>
public long Bonus { get; init; }
/// <summary>
/// Total amount made from selling data.
/// </summary>
public long TotalEarnings { get; init; }
}