Compare commits

..

No commits in common. "86d27fb2a39572a2afe1d217ce1013f280bdce37" and "e75e0773fdfd2cfdac6b1ddab65fc533e98f476c" have entirely different histories.

2 changed files with 3 additions and 11 deletions

View File

@ -8,17 +8,11 @@ public class BioData {
public string? SpeciesLocalised { get; set; } public string? SpeciesLocalised { get; set; }
public long Value { get; set; } = 0; public long Value { get; set; } = 0;
public long Bonus { get; set; } = 0; public long Bonus { get; set; } = 0;
public long TotalValue => Value + Bonus;
public long TotalValue {
get {
return Value + Bonus;
}
}
} }
public class SellOrganicDataEntry : Entry { public class SellOrganicDataEntry : Entry {
public long MarketID { get; set; } public long MarketID { get; set; }
public List<BioData> BioData => new List<BioData>();
public List<BioData> BioData { get; } = new();
protected override void Initialise() { protected override void Initialise() {
MarketID = JSON.Value<long?>("MarketID") ?? 0; MarketID = JSON.Value<long?>("MarketID") ?? 0;

View File

@ -54,11 +54,9 @@ public class MissionFormat : LogFormatter {
if (passengers.ContainsKey(mission.Key)) { if (passengers.ContainsKey(mission.Key)) {
output.AppendFormat(" ({0} Passengers)", passengers[mission.Key]); output.AppendFormat(" ({0} Passengers)", passengers[mission.Key]);
} }
output.Append("\n");
} }
output.Append("\n"); output.Append("\n\n");
foreach (InfluenceSupport inf in support) { foreach (InfluenceSupport inf in support) {
output.Append(inf.ToString()); output.Append(inf.ToString());