Initial Commit

This commit is contained in:
Ben Parsons 2024-04-13 15:54:59 +10:00
commit 63ed43f4af
257 changed files with 7968 additions and 20433 deletions

View file

@ -1,21 +1,20 @@
using Observatory.Framework.Files.ParameterTypes;
using System.Collections.Immutable;
using System.Collections.Immutable;
using Observatory.Framework.Files.ParameterTypes;
namespace Observatory.Framework.Files.Journal
namespace Observatory.Framework.Files.Journal.Combat;
public class Bounty : JournalBase
{
public class Bounty : JournalBase
{
public ImmutableList<Rewards> Rewards { get; init; }
public string PilotName { get; set; }
public string PilotName_Localised { get; set; }
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; }
}
}
public ImmutableList<Rewards> Rewards { get; init; }
public string PilotName { get; set; }
public string PilotName_Localised { get; set; }
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

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

View file

@ -1,14 +1,13 @@
using Observatory.Framework.Files.ParameterTypes;
using System.Collections.Immutable;
using System.Collections.Immutable;
using Observatory.Framework.Files.ParameterTypes;
namespace Observatory.Framework.Files.Journal
namespace Observatory.Framework.Files.Journal.Combat;
public class Died : JournalBase
{
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; }
}
}
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

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

View file

@ -1,11 +1,10 @@
namespace Observatory.Framework.Files.Journal
namespace Observatory.Framework.Files.Journal.Combat;
public class FactionKillBond : JournalBase
{
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; }
}
}
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

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

View file

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

View file

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

View file

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

View file

@ -1,14 +1,13 @@
namespace Observatory.Framework.Files.Journal
namespace Observatory.Framework.Files.Journal.Combat;
public class Interdicted : JournalBase
{
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; }
public bool IsThargoid { get; init; }
}
}
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; }
public bool IsThargoid { get; init; }
}

View file

@ -1,12 +1,11 @@
namespace Observatory.Framework.Files.Journal
namespace Observatory.Framework.Files.Journal.Combat;
public class Interdiction : JournalBase
{
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; }
}
}
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

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

View file

@ -1,8 +1,7 @@
namespace Observatory.Framework.Files.Journal
namespace Observatory.Framework.Files.Journal.Combat;
public class SRVDestroyed : JournalBase
{
public class SRVDestroyed : JournalBase
{
public string SRVType { get; init; }
public string SRVType_Localised { get; init; }
}
}
public string SRVType { get; init; }
public string SRVType_Localised { get; init; }
}

View file

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

View file

@ -1,23 +1,22 @@
namespace Observatory.Framework.Files.Journal
namespace Observatory.Framework.Files.Journal.Combat;
public class ShipTargeted : JournalBase
{
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; }
}
}
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

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

View file

@ -1,17 +1,16 @@
namespace Observatory.Framework.Files.Journal
namespace Observatory.Framework.Files.Journal.Exploration;
/// <summary>
/// Journal event generated when buying system data from the galaxy map while docked.
/// </summary>
public class BuyExplorationData : JournalBase
{
/// <summary>
/// Journal event generated when buying system data from the galaxy map while docked.
/// Name of the system for which data was purchased.
/// </summary>
public class BuyExplorationData : JournalBase
{
/// <summary>
/// Name of the system for which data was purchased.
/// </summary>
public string System { get; init; }
/// <summary>
/// Amount paid for the data.
/// </summary>
public int Cost { get; init; }
}
}
public string System { get; init; }
/// <summary>
/// Amount paid for the data.
/// </summary>
public int Cost { get; init; }
}

View file

@ -1,91 +1,90 @@
using System.Collections.Immutable;
namespace Observatory.Framework.Files.Journal
namespace Observatory.Framework.Files.Journal.Exploration;
/// <summary>
/// Event generated when an item in the codex is scanned.
/// </summary>
public class CodexEntry : JournalBase
{
/// <summary>
/// Event generated when an item in the codex is scanned.
/// Unique ID of the entry.
/// </summary>
public class CodexEntry : JournalBase
{
/// <summary>
/// Unique ID of the entry.
/// </summary>
public ulong EntryID { get; init; }
/// <summary>
/// Name of the item scanned.
/// </summary>
public string Name { get; init; }
/// <summary>
/// Localised name of the item scanned.
/// </summary>
public string Name_Localised { get; init; }
/// <summary>
/// Codex sub category of the item scanned.
/// </summary>
public string SubCategory { get; init; }
/// <summary>
/// Localised sub category name of the item scanned.
/// </summary>
public string SubCategory_Localised { get; init; }
/// <summary>
/// Codex category of the item scanned.
/// </summary>
public string Category { get; init; }
/// <summary>
/// Localised category name of the item scanned.
/// </summary>
public string Category_Localised { get; init; }
/// <summary>
/// Codex region the scan occured in.
/// </summary>
public string Region { get; init; }
/// <summary>
/// Localised name of the region.
/// </summary>
public string Region_Localised { get; init; }
/// <summary>
/// Name of the system in which the scan occured.
/// </summary>
public string System { get; init; }
/// <summary>
/// Unique ID of the system in which the scan occured.
/// </summary>
public ulong SystemAddress { get; init; }
/// <summary>
/// Name of the nearest surface signal.
/// </summary>
public string NearestDestination { get; init; }
/// <summary>
/// Localised name of hte nearest surface signal.
/// </summary>
public string NearestDestination_Localised { get; init; }
/// <summary>
/// Indicator that this codex entry hasn't been previously scanned by the CMDR.
/// </summary>
public bool IsNewEntry { get; init; }
/// <summary>
/// Indicator that htis codex entry has a trait not previously seen by the CMDR.
/// </summary>
public bool NewTraitsDiscovered { get; init; }
/// <summary>
/// List of trais of the scanned item.
/// </summary>
public ImmutableList<string> Traits { get; init; }
/// <summary>
/// Value of the codex entry when sold to Universal Cartographics.
/// </summary>
public int VoucherAmount { get; init; }
/// <summary>
/// Surface latitude where the scan occured.
/// </summary>
public float Latitude { get; init; }
/// <summary>
/// Surface longitude where the scan occured.
/// </summary>
public float Longitude { get; init; }
/// <summary>
/// Body ID of the system body where the scan occured.
/// </summary>
public int BodyID { get; init; }
}
}
public ulong EntryID { get; init; }
/// <summary>
/// Name of the item scanned.
/// </summary>
public string Name { get; init; }
/// <summary>
/// Localised name of the item scanned.
/// </summary>
public string Name_Localised { get; init; }
/// <summary>
/// Codex sub category of the item scanned.
/// </summary>
public string SubCategory { get; init; }
/// <summary>
/// Localised sub category name of the item scanned.
/// </summary>
public string SubCategory_Localised { get; init; }
/// <summary>
/// Codex category of the item scanned.
/// </summary>
public string Category { get; init; }
/// <summary>
/// Localised category name of the item scanned.
/// </summary>
public string Category_Localised { get; init; }
/// <summary>
/// Codex region the scan occured in.
/// </summary>
public string Region { get; init; }
/// <summary>
/// Localised name of the region.
/// </summary>
public string Region_Localised { get; init; }
/// <summary>
/// Name of the system in which the scan occured.
/// </summary>
public string System { get; init; }
/// <summary>
/// Unique ID of the system in which the scan occured.
/// </summary>
public ulong SystemAddress { get; init; }
/// <summary>
/// Name of the nearest surface signal.
/// </summary>
public string NearestDestination { get; init; }
/// <summary>
/// Localised name of hte nearest surface signal.
/// </summary>
public string NearestDestination_Localised { get; init; }
/// <summary>
/// Indicator that this codex entry hasn't been previously scanned by the CMDR.
/// </summary>
public bool IsNewEntry { get; init; }
/// <summary>
/// Indicator that htis codex entry has a trait not previously seen by the CMDR.
/// </summary>
public bool NewTraitsDiscovered { get; init; }
/// <summary>
/// List of trais of the scanned item.
/// </summary>
public ImmutableList<string> Traits { get; init; }
/// <summary>
/// Value of the codex entry when sold to Universal Cartographics.
/// </summary>
public int VoucherAmount { get; init; }
/// <summary>
/// Surface latitude where the scan occured.
/// </summary>
public float Latitude { get; init; }
/// <summary>
/// Surface longitude where the scan occured.
/// </summary>
public float Longitude { get; init; }
/// <summary>
/// Body ID of the system body where the scan occured.
/// </summary>
public int BodyID { get; init; }
}

View file

@ -1,17 +1,16 @@
namespace Observatory.Framework.Files.Journal
namespace Observatory.Framework.Files.Journal.Exploration;
/// <summary>
/// Event generated when using the discovery scanner (honk) to initially scan system. No longer used in live game client, will be found only in historical data.
/// </summary>
public class DiscoveryScan : JournalBase
{
/// <summary>
/// Event generated when using the discovery scanner (honk) to initially scan system. No longer used in live game client, will be found only in historical data.
/// Unique ID of system.
/// </summary>
public class DiscoveryScan : JournalBase
{
/// <summary>
/// Unique ID of system.
/// </summary>
public ulong SystemAddress { get; init; }
/// <summary>
/// Number of bodies in system.
/// </summary>
public int Bodies { get; init; }
}
}
public ulong SystemAddress { get; init; }
/// <summary>
/// Number of bodies in system.
/// </summary>
public int Bodies { get; init; }
}

View file

@ -1,21 +1,20 @@
namespace Observatory.Framework.Files.Journal
namespace Observatory.Framework.Files.Journal.Exploration;
/// <summary>
/// Event generated when all bodies within a system have been scanned.
/// </summary>
public class FSSAllBodiesFound : JournalBase
{
/// <summary>
/// Event generated when all bodies within a system have been scanned.
/// Name of the system.
/// </summary>
public class FSSAllBodiesFound : JournalBase
{
/// <summary>
/// Name of the system.
/// </summary>
public string SystemName { get; init; }
/// <summary>
/// Unique ID of the system.
/// </summary>
public ulong SystemAddress { get; init; }
/// <summary>
/// Count of all scanned bodies in system.
/// </summary>
public int Count { get; init; }
}
}
public string SystemName { get; init; }
/// <summary>
/// Unique ID of the system.
/// </summary>
public ulong SystemAddress { get; init; }
/// <summary>
/// Count of all scanned bodies in system.
/// </summary>
public int Count { get; init; }
}

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