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
commit 4c1031b8f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
52 changed files with 7565 additions and 5 deletions

View file

@ -0,0 +1,10 @@
namespace Observatory.Framework.Files.Journal
{
public class AfmuRepairs : JournalBase
{
public string Module { get; init; }
public string Module_Localised { get; init; }
public bool FullyRepaired { get; init; }
public float Health { get; init; }
}
}

View file

@ -0,0 +1,14 @@
namespace Observatory.Framework.Files.Journal
{
public class ApproachSettlement : JournalBase
{
public ulong SystemAddress { get; init; }
public string Name { get; init; }
public string Name_Localised { get; init; }
public long MarketID { get; init; }
public float Latitude { get; init; }
public float Longitude { get; init; }
public int BodyID { get; init; }
public string BodyName { get; init; }
}
}

View file

@ -0,0 +1,10 @@
using Observatory.Framework.Files.ParameterTypes;
using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal
{
public class CargoTransfer : JournalBase
{
public ImmutableList<CargoTransferDetail> Transfers { get; init; }
}
}

View file

@ -0,0 +1,7 @@
namespace Observatory.Framework.Files.Journal
{
public class ChangeCrewRole : JournalBase
{
public string Role { get; init; }
}
}

View file

@ -0,0 +1,6 @@
namespace Observatory.Framework.Files.Journal
{
public class CockpitBreached : JournalBase
{
}
}

View file

@ -0,0 +1,16 @@
using System.Text.Json.Serialization;
using Observatory.Framework.Files.ParameterTypes;
namespace Observatory.Framework.Files.Journal
{
public class CommitCrime : JournalBase
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public CrimeType CrimeType { get; init; }
public string Faction { get; init; }
public string Victim { get; init; }
public string Victim_Localised { get; init; }
public int Fine { get; init; }
public int Bounty { get; init; }
}
}

View file

@ -0,0 +1,7 @@
namespace Observatory.Framework.Files.Journal
{
public class Continued : JournalBase
{
public int Part { get; init; }
}
}

View file

@ -0,0 +1,7 @@
namespace Observatory.Framework.Files.Journal
{
public class CrewLaunchFighter : CrewMemberJoins
{
public int ID { get; init; }
}
}

View file

@ -0,0 +1,7 @@
namespace Observatory.Framework.Files.Journal
{
public class CrewMemberJoins : JournalBase
{
public string Crew { get; init; }
}
}

View file

@ -0,0 +1,6 @@
namespace Observatory.Framework.Files.Journal
{
public class CrewMemberQuits : CrewMemberJoins
{
}
}

View file

@ -0,0 +1,7 @@
namespace Observatory.Framework.Files.Journal
{
public class CrewMemberRoleChange : CrewMemberJoins
{
public string Role { get; init; }
}
}

View file

@ -0,0 +1,14 @@
using System.Text.Json.Serialization;
using Observatory.Framework.Files.ParameterTypes;
namespace Observatory.Framework.Files.Journal
{
public class CrimeVictim : JournalBase
{
public string Offender { get; init; }
[JsonConverter(typeof(JsonStringEnumConverter))]
public CrimeType CrimeType { get; init; }
public int Fine { get; init; }
public int Bounty { get; init; }
}
}

View file

@ -0,0 +1,8 @@
namespace Observatory.Framework.Files.Journal
{
public class DataScanned : JournalBase
{
public string Type { get; init; }
public string Type_Localised { get; init; }
}
}

View file

@ -0,0 +1,8 @@
namespace Observatory.Framework.Files.Journal
{
public class DatalinkScan : JournalBase
{
public string Message { get; init; }
public string Message_Localised { get; init; }
}
}

View file

@ -0,0 +1,9 @@
namespace Observatory.Framework.Files.Journal
{
public class DatalinkVoucher : JournalBase
{
public int Reward { get; init; }
public string VictimFaction { get; init; }
public string PayeeFaction { get; init; }
}
}

View file

@ -0,0 +1,7 @@
namespace Observatory.Framework.Files.Journal
{
public class DockFighter : JournalBase
{
public int ID { get; init; }
}
}

View file

@ -0,0 +1,6 @@
namespace Observatory.Framework.Files.Journal
{
public class DockSRV : DockFighter
{
}
}

View file

@ -0,0 +1,7 @@
namespace Observatory.Framework.Files.Journal
{
public class EndCrewSession : JournalBase
{
public bool OnCrime { get; init; }
}
}

View file

@ -0,0 +1,8 @@
namespace Observatory.Framework.Files.Journal
{
public class FighterRebuilt : JournalBase
{
public string Loadout { get; init; }
public int ID { get; init; }
}
}

View file

@ -0,0 +1,12 @@
using System.Text.Json.Serialization;
using Observatory.Framework.Files.ParameterTypes;
namespace Observatory.Framework.Files.Journal
{
public class Friends : JournalBase
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public FriendStatus Status { get; init; }
public string Name { get; init; }
}
}

Some files were not shown because too many files have changed in this diff Show more