mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-04-05 17:39:39 -04:00
Some invalid journal data is now handled Journals now use polymorphic deserialization Added Event names to all journal events Remove unused controllers
21 lines
793 B
C#
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; }
|
|
} |