2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-07-01 08:23:42 -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,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; }
}
}

View File

@ -0,0 +1,8 @@
namespace Observatory.Framework.Files.Journal
{
public class FuelScoop : JournalBase
{
public float Scooped { get; init; }
public float Total { get; init; }
}
}

View File

@ -0,0 +1,7 @@
namespace Observatory.Framework.Files.Journal
{
public class JetConeBoost : JournalBase
{
public float BoostValue { get; init; }
}
}

View File

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

View File

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

View File

@ -0,0 +1,8 @@
namespace Observatory.Framework.Files.Journal
{
public class KickCrewMember : JournalBase
{
public string Crew { get; init; }
public bool OnCrime { get; init; }
}
}

View File

@ -0,0 +1,11 @@
using System.Text.Json.Serialization;
using Observatory.Framework.Files.ParameterTypes;
namespace Observatory.Framework.Files.Journal
{
public class LaunchDrone : JournalBase
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public LimpetDrone Type { get; init; }
}
}

View File

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

View File

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

View File

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

View File

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

View File

@ -0,0 +1,9 @@
namespace Observatory.Framework.Files.Journal
{
public class NpcCrewPaidWage : JournalBase
{
public int NpcCrewId { get; init; }
public string NpcCrewName { get; init; }
public int Amount { get; init; }
}
}

View File

@ -0,0 +1,11 @@
using Observatory.Framework.Files.ParameterTypes;
namespace Observatory.Framework.Files.Journal
{
public class NpcCrewRank : JournalBase
{
public int NpcCrewId { get; init; }
public string NpcCrewName { get; init; }
public RankCombat RankCombat { get; init; }
}
}

View File

@ -0,0 +1,5 @@
namespace Observatory.Framework.Files.Journal
{
public class Promotion : Rank
{ }
}

View File

@ -0,0 +1,15 @@
using Observatory.Framework.Files.ParameterTypes;
using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal
{
public class ProspectedAsteroid : JournalBase
{
public ImmutableList<ProspectMaterial> Materials { get; init; }
public string Content { get; init; }
public string Content_Localised { get; init; }
public string MotherlodeMaterial { get; init; }
public string MotherlodeMaterial_Localised { get; init; }
public float Remaining { get; init; }
}
}

View File

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

View File

@ -0,0 +1,9 @@
using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal
{
public class RebootRepair : JournalBase
{
public ImmutableList<string> Modules { get; init; }
}
}

View File

@ -0,0 +1,15 @@
using System.Text.Json.Serialization;
using Observatory.Framework.Files.ParameterTypes;
namespace Observatory.Framework.Files.Journal
{
public class ReceiveText : JournalBase
{
public string From { get; init; }
public string From_Localised { get; init; }
public string Message { get; init; }
public string Message_Localised { get; init; }
[JsonConverter(typeof(JsonStringEnumConverter))]
public TextChannel Channel { get; init; }
}
}

View File

@ -0,0 +1,9 @@
namespace Observatory.Framework.Files.Journal
{
public class RepairDrone : JournalBase
{
public float HullRepaired { get; init; }
public float CockpitRepaired { get; init; }
public float CorrosionRepaired { get; init; }
}
}

View File

@ -0,0 +1,8 @@
namespace Observatory.Framework.Files.Journal
{
public class ReservoirReplenished : JournalBase
{
public float FuelMain { get; init; }
public float FuelReservoir { get; init; }
}
}

View File

@ -0,0 +1,9 @@
namespace Observatory.Framework.Files.Journal
{
public class Resurrect : JournalBase
{
public string Option { get; init; }
public int Cost { get; init; }
public bool Bankrupt { get; init; }
}
}

View File

@ -0,0 +1,11 @@
using System.Text.Json.Serialization;
using Observatory.Framework.Files.ParameterTypes;
namespace Observatory.Framework.Files.Journal
{
public class Scanned : JournalBase
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public ScanType ScanType { get; init; }
}
}

View File

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

View File

@ -0,0 +1,10 @@
namespace Observatory.Framework.Files.Journal
{
public class SendText : JournalBase
{
public string To { get; init; }
public string To_Localised { get; init; }
public string Message { get; init; }
public bool Sent { get; init; }
}
}

View File

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

View File

@ -0,0 +1,15 @@
using System.Text.Json.Serialization;
using Observatory.Framework.Files.Converters;
using Observatory.Framework.Files.ParameterTypes;
using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal
{
public class Synthesis : JournalBase
{
public string Name { get; init; }
[JsonConverter(typeof(MaterialConverter))]
public ImmutableList<Material> Materials { get; init; }
}
}

View File

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

View File

@ -0,0 +1,9 @@
namespace Observatory.Framework.Files.Journal
{
public class USSDrop : JournalBase
{
public string USSType { get; init; }
public string USSType_Localised { get; init; }
public int USSThreat { get; init; }
}
}

View File

@ -0,0 +1,11 @@
using System.Text.Json.Serialization;
using Observatory.Framework.Files.ParameterTypes;
namespace Observatory.Framework.Files.Journal
{
public class VehicleSwitch : JournalBase
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public VehicleSwitchTo To { get; init; }
}
}

View File

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

View File

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

View File

@ -0,0 +1,9 @@
using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal
{
public class WingJoin : JournalBase
{
public ImmutableList<string> Others { get; init; }
}
}

View File

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