mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-07-03 01:03:41 -04:00
Add Startup Events to Database
Now emit startup events on conneciton Some events still to add
This commit is contained in:
@ -8,5 +8,5 @@ public class Cargo : JournalBase
|
||||
public override string Event => "Cargo";
|
||||
public string Vessel { get; init; }
|
||||
public int Count { get; init; }
|
||||
public ImmutableList<CargoType> Inventory { get; init; }
|
||||
public IReadOnlyCollection<CargoType> Inventory { get; init; }
|
||||
}
|
@ -19,5 +19,5 @@ public class Loadout : JournalBase
|
||||
public double MaxJumpRange { get; init; }
|
||||
public ulong Rebuy { get; init; }
|
||||
public bool Hot { get; init; }
|
||||
public ImmutableList<Modules> Modules { get; init; }
|
||||
public IReadOnlyCollection<Modules> Modules { get; init; }
|
||||
}
|
@ -1,13 +1,13 @@
|
||||
using System.Collections.Immutable;
|
||||
using Observatory.Framework.Files.ParameterTypes;
|
||||
namespace Observatory.Framework.Files.Journal.Startup;
|
||||
|
||||
namespace Observatory.Framework.Files.Journal.Startup;
|
||||
using System.Collections.Immutable;
|
||||
using ParameterTypes;
|
||||
|
||||
public class Materials : JournalBase
|
||||
{
|
||||
public override string Event => "Materials";
|
||||
public ImmutableList<Material> Raw { get; init; }
|
||||
public ImmutableList<Material> Manufactured { get; init; }
|
||||
public ImmutableList<Material> Encoded { get; init; }
|
||||
public virtual IReadOnlyCollection<Material> Raw { get; init; }
|
||||
public virtual IReadOnlyCollection<Material> Manufactured { get; init; }
|
||||
public virtual IReadOnlyCollection<Material> Encoded { get; init; }
|
||||
|
||||
}
|
@ -6,7 +6,7 @@ namespace Observatory.Framework.Files.Journal.Startup;
|
||||
public class Missions : JournalBase
|
||||
{
|
||||
public override string Event => "Missions";
|
||||
public ImmutableList<Mission> Active { get; init; }
|
||||
public ImmutableList<Mission> Failed { get; init; }
|
||||
public ImmutableList<Mission> Complete { get; init; }
|
||||
public IReadOnlyCollection<Mission> Active { get; init; }
|
||||
public IReadOnlyCollection<Mission> Failed { get; init; }
|
||||
public IReadOnlyCollection<Mission> Complete { get; init; }
|
||||
}
|
@ -1,6 +1,38 @@
|
||||
namespace Observatory.Framework.Files.Journal.Startup;
|
||||
|
||||
public class Progress : Rank
|
||||
public class Progress : JournalBase
|
||||
{
|
||||
public override string Event => "Progress";
|
||||
/// <summary>
|
||||
/// percent progress towards next rank
|
||||
/// </summary>
|
||||
public int Combat { get; init; }
|
||||
/// <summary>
|
||||
/// percent progress towards next rank
|
||||
/// </summary>
|
||||
public int Trade { get; init; }
|
||||
/// <summary>
|
||||
/// percent progress towards next rank
|
||||
/// </summary>
|
||||
public int Explore { get; init; }
|
||||
/// <summary>
|
||||
/// percent progress towards next rank
|
||||
/// </summary>
|
||||
public int CQC { get; init; }
|
||||
/// <summary>
|
||||
/// percent progress towards next rank
|
||||
/// </summary>
|
||||
public int Soldier { get; init; }
|
||||
/// <summary>
|
||||
/// percent progress towards next rank
|
||||
/// </summary>
|
||||
public int Exobiologist { get; init; }
|
||||
/// <summary>
|
||||
/// percent progress towards next rank
|
||||
/// </summary>
|
||||
public int Empire { get; init; }
|
||||
/// <summary>
|
||||
/// percent progress towards next rank
|
||||
/// </summary>
|
||||
public int Federation { get; init; }
|
||||
}
|
@ -21,11 +21,11 @@ public class Statistics : JournalBase
|
||||
public Crew Crew { get; init; }
|
||||
public Multicrew Multicrew { get; init; }
|
||||
[JsonPropertyName("TG_ENCOUNTERS")]
|
||||
public Thargoid Thargoid { get; init; }
|
||||
public Thargoid? Thargoid { get; init; }
|
||||
[JsonPropertyName("Material_Trader_Stats")]
|
||||
public MaterialTrader MaterialTrader { get; init; }
|
||||
public CQC CQC { get; init; }
|
||||
public CQC? CQC { get; init; }
|
||||
[JsonPropertyName("FLEETCARRIER")]
|
||||
public ParameterTypes.FleetCarrier FleetCarrier { get; init; }
|
||||
public ParameterTypes.FleetCarrier? FleetCarrier { get; init; }
|
||||
public Exobiology Exobiology { get; init; }
|
||||
}
|
Reference in New Issue
Block a user