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

21 lines
793 B
C#

using System.Text.Json.Serialization;
using Observatory.Framework.Files.ParameterTypes;
namespace Observatory.Framework.Files.Journal.StationServices;
public class CargoDepot : JournalBase
{
public override string Event => "CargoDepot";
public ulong MissionID { get; init; }
[JsonConverter(typeof(JsonStringEnumConverter))]
public UpdateType UpdateType { get; init; }
public string CargoType { get; init; }
public string CargoType_Localised { get; init; }
public int Count { get; init; }
public ulong StartMarketID { get; init; }
public ulong EndMarketID { get; init; }
public int ItemsCollected { get; init; }
public int ItemsDelivered { get; init; }
public int TotalItemsToDeliver { get; init; }
public float Progress { get; init; }
}