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 @@
using Observatory.Framework.Files.ParameterTypes;
using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal
{
public class BackPack : JournalBase
{
}
}

View File

@ -0,0 +1,11 @@
using Observatory.Framework.Files.ParameterTypes;
using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal
{
public class BackpackChange : JournalBase
{
public ImmutableList<BackpackItemChange> Added { get; init; }
public ImmutableList<BackpackItemChange> Removed { get; init; }
}
}

View File

@ -0,0 +1,13 @@
using Observatory.Framework.Files.ParameterTypes;
using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal
{
public class BackpackMaterials : JournalBase
{
public ImmutableList<BackpackItem> Items { get; init; }
public ImmutableList<BackpackItem> Components { get; init; }
public ImmutableList<BackpackItem> Consumables { get; init; }
public ImmutableList<BackpackItem> Data { get; init; }
}
}

View File

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

View File

@ -0,0 +1,9 @@
namespace Observatory.Framework.Files.Journal
{
public class BookTaxi : JournalBase
{
public int Cost { get; init; }
public string DestinationSystem { get; init; }
public string DestinationLocation { get; init; }
}
}

View File

@ -0,0 +1,16 @@
using Observatory.Framework.Files.ParameterTypes;
using System.Text.Json.Serialization;
namespace Observatory.Framework.Files.Journal
{
public class BuyMicroResources : JournalBase
{
public string Name { get; init; }
public string Name_Localised { get; init; }
[JsonConverter(typeof(JsonStringEnumConverter))]
public MicroCategory Category { get; init; }
public int Count { get; init; }
public int Price { get; init; }
public ulong MarketID { get; init; }
}
}

View File

@ -0,0 +1,10 @@
namespace Observatory.Framework.Files.Journal
{
public class BuySuit : JournalBase
{
public string Name { get; init; }
public string Name_Localised { get; init; }
public int Price { get; init; }
public ulong SuitID { get; init; }
}
}

View File

@ -0,0 +1,10 @@
namespace Observatory.Framework.Files.Journal
{
public class BuyWeapon : JournalBase
{
public string Name { get; init; }
public string Name_Localised { get; init; }
public int Price { get; init; }
public ulong SuitModuleID { get; init; }
}
}

View File

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

View File

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

View File

@ -0,0 +1,12 @@
namespace Observatory.Framework.Files.Journal
{
public class CollectItems : JournalBase
{
public string Name { get; init; }
public string Name_Localised { get; init; }
public string Type { get; init; }
public ulong OwnerID { get; init; }
public int Count { get; init; }
public bool Stolen { get; init; }
}
}

View File

@ -0,0 +1,11 @@
using Observatory.Framework.Files.ParameterTypes;
using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal
{
public class CreateSuitLoadout : DeleteSuitLoadout
{
public ImmutableList<SuitModule> Modules { get; init; }
public ImmutableList<string> SuitMods { get; init; }
}
}

View File

@ -0,0 +1,11 @@
namespace Observatory.Framework.Files.Journal
{
public class DeleteSuitLoadout : JournalBase
{
public ulong SuitID { get; init; }
public string SuitName { get; init; }
public string SuitName_Localised { get; init; }
public ulong LoadoutID { get; init; }
public string LoadoutName { get; init; }
}
}

View File

@ -0,0 +1,25 @@
using System;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Observatory.Framework.Files.Journal
{
public class Disembark : JournalBase
{
public bool SRV { get; init; }
public bool Taxi { get; init; }
public bool Multicrew { get; init; }
public ulong ID { get; init; }
public string StarSystem { get; init; }
public ulong SystemAddress { get; init; }
public string Body { get; init; }
public int BodyID { get; init; }
public bool OnStation { get; init; }
public bool OnPlanet { get; init; }
public string StationName { get; init; }
public string StationType { get; init; }
public ulong MarketID { get; init; }
}
}

View File

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

View File

@ -0,0 +1,12 @@
namespace Observatory.Framework.Files.Journal
{
public class DropShipDeploy : JournalBase
{
public string StarSystem { get; init; }
public ulong SystemAddress { get; init; }
public string Body { get; init; }
public int BodyID { get; init; }
public bool OnStation { get; init; }
public bool OnPlanet { get; init; }
}
}

View File

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

View File

@ -0,0 +1,15 @@
namespace Observatory.Framework.Files.Journal
{
public class LoadoutEquipModule : JournalBase
{
public ulong SuitID { get; init; }
public string SuitName { get; init; }
public string SuitName_Localised { get; init; }
public string SlotName { get; init; }
public ulong LoadoutID { get; init; }
public string LoadoutName { get; init; }
public string ModuleName { get; init; }
public string ModuleName_Localised { get; init; }
public ulong SuitModuleID { get; init; }
}
}

View File

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

View File

@ -0,0 +1,10 @@
namespace Observatory.Framework.Files.Journal
{
public class RenameSuitLoadout : JournalBase
{
public ulong SuitID { get; init; }
public string SuitName { get; init; }
public ulong LoadoutID { get; init; }
public string LoadoutName { get; init; }
}
}

View File

@ -0,0 +1,17 @@
using Observatory.Framework.Files.ParameterTypes;
using System.Text.Json.Serialization;
namespace Observatory.Framework.Files.Journal
{
public class ScanOrganic : JournalBase
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public ScanOrganicType ScanType { get; init; }
public string Genus { get; init; }
public string Genus_Localised { get; init; }
public string Species { get; init; }
public string Species_Localised { get; init; }
public ulong SystemAddress { get; init; }
public int Body { get; init; }
}
}

View File

@ -0,0 +1,12 @@
using Observatory.Framework.Files.ParameterTypes;
using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal
{
public class SellMicroResources : JournalBase
{
public ImmutableList<MicroResource> MicroResources { get; init; }
public int Price { get; init; }
public ulong MarketID { get; init; }
}
}

View File

@ -0,0 +1,11 @@
using Observatory.Framework.Files.ParameterTypes;
using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal
{
public class SellOrganicData : JournalBase
{
public ulong MarketID { get; init; }
public ImmutableList<BioData> BioData { get; init; }
}
}

View File

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

View File

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

View File

@ -0,0 +1,13 @@
using Observatory.Framework.Files.ParameterTypes;
using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal
{
public class ShipLockerMaterials : JournalBase
{
public ImmutableList<BackpackItem> Items { get; init; }
public ImmutableList<BackpackItem> Components { get; init; }
public ImmutableList<BackpackItem> Consumables { get; init; }
public ImmutableList<BackpackItem> Data { get; init; }
}
}

View File

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

View File

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

View File

@ -0,0 +1,14 @@
using Observatory.Framework.Files.ParameterTypes;
using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal
{
public class TradeMicroResources : JournalBase
{
public ImmutableList<MicroResource> Offered { get; init; }
public string Received { get; init; }
public MicroCategory Category { get; init; }
public int Count { get; init; }
public ulong MarketID { get; init; }
}
}

View File

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

View File

@ -0,0 +1,11 @@
namespace Observatory.Framework.Files.Journal
{
public class UpgradeSuit : JournalBase
{
public string Name { get; init; }
public string Name_Localised { get; init; }
public ulong SuitID { get; init; }
public int Class { get; init; }
public int Cost { get; init; }
}
}

View File

@ -0,0 +1,11 @@
namespace Observatory.Framework.Files.Journal
{
public class UpgradeWeapon : JournalBase
{
public string Name { get; init; }
public string Name_Localised { get; init; }
public ulong SuitModuleID { get; init; }
public int Class { get; init; }
public int Cost { get; init; }
}
}

View File

@ -0,0 +1,9 @@
namespace Observatory.Framework.Files.Journal
{
public class UseConsumable : JournalBase
{
public string Name { get; init; }
public string Name_Localised { get; init; }
public string Type { get; init; }
}
}