2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-04-05 17:39:39 -04:00
Xjph 4c1031b8f9
Reorganize all observatory core projects into monorepo (#25)
* chore: move all observatory repos to core

* only save journal folder on change, don't constantly re-check during monitoring

* chore: monorepo project changes

* chore: monorepo migration
2021-10-21 19:31:32 -02:30

34 lines
1.3 KiB
C#

using System.Text.Json.Serialization;
using Observatory.Framework.Files.Converters;
using Observatory.Framework.Files.ParameterTypes;
namespace Observatory.Framework.Files
{
public class Status : Journal.JournalBase
{
public StatusFlags Flags { get; init; }
public StatusFlags2 Flags2 { get; init; }
[JsonConverter(typeof(PipConverter))]
public (int Sys, int Eng, int Wep) Pips { get; init; }
public int Firegroup { get; init; }
public FocusStatus GuiFocus { get; init; }
public FuelType Fuel { get; init; }
public float Cargo { get; init; }
[JsonConverter(typeof(JsonStringEnumConverter))]
public LegalStatus LegalState { get; init; }
public int Altitude { get; init; }
public double Latitude { get; init; }
public double Longitude { get; init; }
public int Heading { get; init; }
public string BodyName { get; init; }
public double PlanetRadius { get; init; }
public float Oxygen { get; init; }
public float Health { get; init; }
public float Temperature { get; init; }
public string SelectedWeapon { get; init; }
public float Gravity { get; init; }
public long Balance { get; init; }
public Destination Destination { get; init; }
}
}