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
252 changed files with 7565 additions and 5 deletions

View file

@ -0,0 +1,19 @@
using Observatory.Framework.Files.ParameterTypes;
using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal
{
public class Bounty : JournalBase
{
public ImmutableList<Rewards> Rewards { get; init; }
public string Target { get; init; }
public string Target_Localised { get; init; }
public string Faction { get; init; }
public string Faction_Localised { get; init; }
public long Reward { get; init; }
public long TotalReward { get; init; }
public string VictimFaction { get; init; }
public string VictimFaction_Localised { get; init; }
public int SharedWithOthers { get; init; }
}
}

View file

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

View file

@ -0,0 +1,14 @@
using Observatory.Framework.Files.ParameterTypes;
using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal
{
public class Died : JournalBase
{
public string KillerName { get; init; }
public string KillerName_Localised { get; init; }
public string KillerShip { get; init; }
public string KillerRank { get; init; }
public ImmutableList<Killer> Killers { get; init; }
}
}

View file

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

View file

@ -0,0 +1,11 @@
namespace Observatory.Framework.Files.Journal
{
public class FactionKillBond : JournalBase
{
public long Reward { get; init; }
public string AwardingFaction { get; init; }
public string AwardingFaction_Localised { get; init; }
public string VictimFaction { get; init; }
public string VictimFaction_Localised { get; init; }
}
}

View file

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

View file

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

View file

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

View file

@ -0,0 +1,9 @@
namespace Observatory.Framework.Files.Journal
{
public class HullDamage : JournalBase
{
public float Health { get; init; }
public bool PlayerPilot { get; init; }
public bool Fighter { get; init; }
}
}

View file

@ -0,0 +1,13 @@
namespace Observatory.Framework.Files.Journal
{
public class Interdicted : JournalBase
{
public bool Submitted { get; init; }
public string Interdictor { get; init; }
public string Interdictor_Localised { get; init; }
public bool IsPlayer { get; init; }
public int CombatRank { get; init; }
public string Faction { get; init; }
public string Power { get; init; }
}
}

View file

@ -0,0 +1,12 @@
namespace Observatory.Framework.Files.Journal
{
public class Interdiction : JournalBase
{
public bool Success { get; init; }
public string Interdictor { get; init; }
public bool IsPlayer { get; init; }
public int CombatRank { get; init; }
public string Faction { get; init; }
public string Power { get; init; }
}
}

View file

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

View file

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

View file

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

View file

@ -0,0 +1,23 @@
namespace Observatory.Framework.Files.Journal
{
public class ShipTargeted : JournalBase
{
public bool TargetLocked { get; init; }
public string Ship { get; init; }
public string Ship_Localised { get; init; }
public int ScanStage { get; init; }
public string PilotName { get; init; }
public string PilotName_Localised { get; init; }
public string PilotRank { get; init; }
public float ShieldHealth { get; init; }
public float HullHealth { get; init; }
public string Faction { get; init; }
public string LegalStatus { get; init; }
public long Bounty { get; init; }
public string Subsystem { get; init; }
public string Subsystem_Localised { get; init; }
public float SubsystemHealth { get; init; }
public string Power { get; init; }
public string SquadronID { get; init; }
}
}

View file

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

View file

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

View file

@ -0,0 +1,27 @@
using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal
{
public class CodexEntry : JournalBase
{
public long EntryID { get; init; }
public string Name { get; init; }
public string Name_Localised { get; init; }
public string SubCategory { get; init; }
public string SubCategory_Localised { get; init; }
public string Category { get; init; }
public string Category_Localised { get; init; }
public string Region { get; init; }
public string Region_Localised { get; init; }
public string System { get; init; }
public ulong SystemAddress { get; init; }
public string NearestDestination { get; init; }
public string NearestDestination_Localised { get; init; }
public bool IsNewEntry { get; init; }
public bool NewTraitsDiscovered { get; init; }
public ImmutableList<string> Traits { get; init; }
public int VoucherAmount { get; init; }
public float Latitude { get; init; }
public float Longitude { get; init; }
}
}

View file

@ -0,0 +1,8 @@
namespace Observatory.Framework.Files.Journal
{
public class DiscoveryScan : JournalBase
{
public ulong SystemAddress { get; init; }
public int Bodies { get; init; }
}
}

View file

@ -0,0 +1,9 @@
namespace Observatory.Framework.Files.Journal
{
public class FSSAllBodiesFound : JournalBase
{
public string SystemName { get; init; }
public ulong SystemAddress { get; init; }
public int Count { get; init; }
}
}

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