2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-07-03 01:03:41 -04:00

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
This commit is contained in:
Xjph
2021-10-21 19:31:32 -02:30
committed by GitHub
parent 456c80198a
commit 4c1031b8f9
371 changed files with 7565 additions and 5 deletions

View File

@ -0,0 +1,33 @@
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; }
}
}