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

20 lines
767 B
C#

using System.Text.Json.Serialization;
using Observatory.Framework.Files.ParameterTypes;
namespace Observatory.Framework.Files.Journal.StationServices;
public class EngineerContribution : JournalBase
{
public override string Event => "EngineerContribution";
public string Engineer { get; init; }
public ulong EngineerID { get; init; }
[JsonConverter(typeof(JsonStringEnumConverter))]
public ContributionType Type { get; init; }
public string Commodity { get; init; }
public string Commodity_Localised { get; init; }
public string Material { get; init; }
public string Material_Localised { get; init; }
public string Faction { get; init; }
public int Quantity { get; init; }
public int TotalQuantity { get; init; }
}