allow manual loading of JSON
This commit is contained in:
@@ -50,13 +50,16 @@ namespace EliteBGS.BGS {
|
||||
where file.NormalisedTimestamp >= start && file.NormalisedTimestamp <= end
|
||||
select file.Entries
|
||||
;
|
||||
var relevant = from log in entries.SelectMany(array => array)
|
||||
where IsRelevant(log)
|
||||
select log
|
||||
;
|
||||
Scan(entries.SelectMany(x => x).ToList());
|
||||
}
|
||||
|
||||
public void Scan(List<Entry> entries) {
|
||||
if (entries.Count <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
List<Entry> relevant = entries.Where(x => IsRelevant(x)).ToList();
|
||||
Dictionary<int, MissionAcceptedEntry> acceptedMissions = new Dictionary<int, MissionAcceptedEntry>();
|
||||
|
||||
Dictionary<string, int> buyCost = new Dictionary<string, int>();
|
||||
|
||||
string current_system = null;
|
||||
|
||||
Reference in New Issue
Block a user