2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-04-05 17:39:39 -04:00
pulsar/ObservatoryFramework/Files/Journal/Exploration/MultiSellExplorationData.cs
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

29 lines
888 B
C#

using System.Collections.Immutable;
using Observatory.Framework.Files.ParameterTypes;
namespace Observatory.Framework.Files.Journal.Exploration;
/// <summary>
/// Event generated when discovery data for multiple systems are sold at once.
/// </summary>
public class MultiSellExplorationData : JournalBase
{
public override string Event => "MultiSellExplorationData";
/// <summary>
/// List of all sold first discoveries.
/// </summary>
public ImmutableList<Discovered> Discovered { get; init; }
/// <summary>
/// Base value of total sold data.
/// </summary>
public long BaseValue { get; init; }
/// <summary>
/// Bonus value added to base amount.
/// </summary>
public long Bonus { get; init; }
/// <summary>
/// Total amount earned by CMDR for data sale.
/// </summary>
public long TotalEarnings { get; init; }
}