2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-07-01 08:23:42 -04:00

Nullability Updates

& Add missing file
This commit is contained in:
2024-05-25 23:46:21 +10:00
parent e33326611a
commit 69593851aa
5 changed files with 41 additions and 14 deletions

View File

@ -5,5 +5,5 @@ public class Commander : JournalBase
public override string Event => "Commander";
public string Name { get; init; }
public string FID { get; init; }
public string? FID { get; init; }
}

View File

@ -6,26 +6,26 @@ public class LoadGame : JournalBase
{
public override string Event => "LoadGame";
public string Commander { get; init; }
public string FID { get; init; }
public bool Horizons { get; init; }
public bool Odyssey { get; init; }
public string Ship { get; init; }
public string Ship_Localised { get; init; }
public string? FID { get; init; }
public bool? Horizons { get; init; }
public bool? Odyssey { get; init; }
public string? Ship { get; init; }
public string? Ship_Localised { get; init; }
public ulong ShipID { get; init; }
public bool StartLanded { get; init; }
public bool StartDead { get; init; }
public string GameMode { get; init; }
public string? GameMode { get; init; }
public string? Group { get; init; }
public long Credits { get; init; }
public long Loan { get; init; }
public string ShipName { get; init; }
public string ShipIdent { get; init; }
public string? ShipName { get; init; }
public string? ShipIdent { get; init; }
public double FuelLevel { get; init; }
public double FuelCapacity { get; init; }
[JsonPropertyName("language")]
public string Language { get; init; }
public string? Language { get; init; }
[JsonPropertyName("gameversion")]
public string GameVersion { get; init; }
public string? GameVersion { get; init; }
[JsonPropertyName("build")]
public string Build { get; init; }
public string? Build { get; init; }
}

View File

@ -27,5 +27,5 @@ public class Statistics : JournalBase
public CQC? CQC { get; init; }
[JsonPropertyName("FLEETCARRIER")]
public ParameterTypes.FleetCarrier? FleetCarrier { get; init; }
public Exobiology Exobiology { get; init; }
public Exobiology? Exobiology { get; init; }
}