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
19 lines
621 B
C#
19 lines
621 B
C#
using System.Collections.Immutable;
|
|
using System.Text.Json.Serialization;
|
|
using Observatory.Framework.Files.ParameterTypes;
|
|
|
|
namespace Observatory.Framework.Files.Journal.StationServices;
|
|
|
|
public class EngineerProgress : JournalBase
|
|
{
|
|
public override string Event => "EngineerProgress";
|
|
public string Engineer { get; init; }
|
|
public ulong EngineerID { get; init; }
|
|
public int Rank { get; init; }
|
|
public int RankProgress { get; init; }
|
|
|
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
|
public Progress Progress { get; init; }
|
|
|
|
public ImmutableList<EngineerType> Engineers { get; init; }
|
|
} |