mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-07-01 08:23:42 -04:00
Rework Journal File Reading
Remove Explorer Remove Plugin Architecture
This commit is contained in:
@ -22,23 +22,14 @@ public class Docked : JournalBase
|
||||
[Obsolete(JournalUtilities.ObsoleteMessage), JsonConverter(typeof(LegacyFactionConverter<Faction>))]
|
||||
public Faction Faction
|
||||
{
|
||||
private get
|
||||
{
|
||||
return StationFaction;
|
||||
}
|
||||
init
|
||||
{
|
||||
StationFaction = value;
|
||||
}
|
||||
private get => StationFaction;
|
||||
init => StationFaction = value;
|
||||
}
|
||||
|
||||
[Obsolete(JournalUtilities.ObsoleteMessage)]
|
||||
public string FactionState
|
||||
{
|
||||
private get
|
||||
{
|
||||
return StationFaction.FactionState;
|
||||
}
|
||||
private get => StationFaction.FactionState;
|
||||
|
||||
init
|
||||
{
|
||||
@ -51,24 +42,24 @@ public class Docked : JournalBase
|
||||
[Obsolete(JournalUtilities.ObsoleteMessage)]
|
||||
public string Government
|
||||
{
|
||||
private get { return StationGovernment; }
|
||||
init { StationGovernment = value; }
|
||||
private get => StationGovernment;
|
||||
init => StationGovernment = value;
|
||||
}
|
||||
public string StationGovernment_Localised { get; init; }
|
||||
|
||||
[Obsolete(JournalUtilities.ObsoleteMessage)]
|
||||
public string Government_Localised
|
||||
{
|
||||
private get { return StationGovernment_Localised; }
|
||||
init { StationGovernment_Localised = value; }
|
||||
private get => StationGovernment_Localised;
|
||||
init => StationGovernment_Localised = value;
|
||||
}
|
||||
public string StationAllegiance { get; init; }
|
||||
|
||||
[Obsolete(JournalUtilities.ObsoleteMessage)]
|
||||
public string Allegiance
|
||||
{
|
||||
private get { return StationAllegiance; }
|
||||
init { StationAllegiance = value; }
|
||||
private get => StationAllegiance;
|
||||
init => StationAllegiance = value;
|
||||
}
|
||||
|
||||
[JsonConverter(typeof(StationServiceConverter))]
|
||||
@ -78,16 +69,16 @@ public class Docked : JournalBase
|
||||
[Obsolete(JournalUtilities.ObsoleteMessage)]
|
||||
public string Economy
|
||||
{
|
||||
private get { return StationEconomy; }
|
||||
init { StationEconomy = value; }
|
||||
private get => StationEconomy;
|
||||
init => StationEconomy = value;
|
||||
}
|
||||
public string StationEconomy_Localised { get; init; }
|
||||
|
||||
[Obsolete(JournalUtilities.ObsoleteMessage)]
|
||||
public string Economy_Localised
|
||||
{
|
||||
private get { return StationEconomy_Localised; }
|
||||
init { StationEconomy_Localised = value; }
|
||||
private get => StationEconomy_Localised;
|
||||
init => StationEconomy_Localised = value;
|
||||
}
|
||||
public ImmutableList<StationEconomy> StationEconomies { get; init; }
|
||||
|
||||
|
@ -23,10 +23,7 @@ public class FSDJump : JournalBase
|
||||
[Obsolete(JournalUtilities.ObsoleteMessage)]
|
||||
public string FactionState
|
||||
{
|
||||
get
|
||||
{
|
||||
return SystemFaction.FactionState;
|
||||
}
|
||||
get => SystemFaction.FactionState;
|
||||
init
|
||||
{
|
||||
//Stale Data, discard
|
||||
|
@ -14,10 +14,7 @@ public class Location : JournalBase
|
||||
[Obsolete(JournalUtilities.ObsoleteMessage)]
|
||||
public string FactionState
|
||||
{
|
||||
get
|
||||
{
|
||||
return SystemFaction.FactionState;
|
||||
}
|
||||
get => SystemFaction.FactionState;
|
||||
init
|
||||
{
|
||||
//Stale Data, discard
|
||||
|
Reference in New Issue
Block a user