Compare commits
2 Commits
e75e0773fd
...
86d27fb2a3
Author | SHA1 | Date | |
---|---|---|---|
86d27fb2a3 | |||
271b151a72 |
@ -8,11 +8,17 @@ 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;
|
||||||
|
@ -54,9 +54,11 @@ 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\n");
|
output.Append("\n");
|
||||||
|
|
||||||
foreach (InfluenceSupport inf in support) {
|
foreach (InfluenceSupport inf in support) {
|
||||||
output.Append(inf.ToString());
|
output.Append(inf.ToString());
|
||||||
|
Loading…
Reference in New Issue
Block a user