2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-04-05 17:39:39 -04:00
Ben Parsons 68eff73dbd Add Startup Events to Database
Now emit startup events on conneciton
Some events still to add
2024-05-25 19:45:46 +10:00

25 lines
1.0 KiB
C#

using System.Collections.Immutable;
using System.Text.Json.Serialization;
using Observatory.Framework.Files.ParameterTypes;
namespace Observatory.Framework.Files.Journal.FleetCarrier;
public class CarrierStats : JournalBase
{
public override string Event => "CarrierStats";
public ulong CarrierID { get; init; }
public string Callsign { get; init; }
public string Name { get; init; }
[JsonConverter(typeof(JsonStringEnumConverter))]
public CarrierDockingAccess DockingAccess { get; init; }
public bool AllowNotorious { get; init; }
public int FuelLevel { get; init; }
public float JumpRangeCurr { get; init; }
public float JumpRangeMax { get; init; }
public bool PendingDecommission { get; init; }
public CarrierSpaceUsage SpaceUsage { get; init; }
public ParameterTypes.CarrierFinance Finance { get; init; }
public IReadOnlyCollection<CarrierCrew> Crew { get; init; }
public IReadOnlyCollection<CarrierPack> ShipPacks { get; init; }
public IReadOnlyCollection<CarrierPack> ModulePacks { get; init; }
}