rename project to EliteBGS
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
using System.Text;
|
||||
using EDJournal;
|
||||
|
||||
namespace NonaBGS.BGS {
|
||||
namespace EliteBGS.BGS {
|
||||
public class Cartographics : LogEntry {
|
||||
public Cartographics(MultiSellExplorationDataEntry e, string current_system, string current_station) {
|
||||
this.Entries.Add(e);
|
||||
this.System = current_system;
|
||||
this.Station = current_station;
|
||||
Entries.Add(e);
|
||||
System = current_system;
|
||||
Station = current_station;
|
||||
}
|
||||
|
||||
public int TotalSum {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
namespace NonaBGS.BGS {
|
||||
namespace EliteBGS.BGS {
|
||||
public class CombatZone : LogEntry, IComparable {
|
||||
public string Type { get; set; }
|
||||
public string Grade { get; set; }
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace NonaBGS.BGS {
|
||||
namespace EliteBGS.BGS {
|
||||
public interface IDiscordLogGenerator {
|
||||
string GenerateDiscordLog(Report report);
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using System.Globalization;
|
||||
using EDJournal;
|
||||
|
||||
namespace NonaBGS.BGS {
|
||||
namespace EliteBGS.BGS {
|
||||
public class FactionKillBonds : LogEntry {
|
||||
public int TotalSum {
|
||||
get {
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using EDJournal;
|
||||
|
||||
namespace NonaBGS.BGS {
|
||||
namespace EliteBGS.BGS {
|
||||
public class LogEntry : IComparable<LogEntry> {
|
||||
private List<Entry> entries = new List<Entry>();
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Text;
|
||||
using EDJournal;
|
||||
|
||||
namespace NonaBGS.BGS {
|
||||
namespace EliteBGS.BGS {
|
||||
public class MissionCompleted : LogEntry {
|
||||
public MissionCompleted(MissionCompletedEntry e, string system, string station) {
|
||||
this.Entries.Add(e);
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using EDJournal;
|
||||
|
||||
namespace NonaBGS.BGS {
|
||||
namespace EliteBGS.BGS {
|
||||
public class NonaDiscordLog : IDiscordLogGenerator {
|
||||
private string FormatDate() {
|
||||
StringBuilder date = new StringBuilder();
|
||||
|
||||
@@ -3,7 +3,7 @@ using System;
|
||||
using System.Text;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace NonaBGS.BGS {
|
||||
namespace EliteBGS.BGS {
|
||||
public class Objective : IComparable<Objective> {
|
||||
private string system;
|
||||
private string station;
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using EDJournal;
|
||||
|
||||
namespace NonaBGS.BGS {
|
||||
namespace EliteBGS.BGS {
|
||||
public class Report {
|
||||
private List<Objective> objectives = new List<Objective>();
|
||||
|
||||
@@ -126,7 +126,7 @@ namespace NonaBGS.BGS {
|
||||
.OrderBy(x => x.Matches(entry))
|
||||
;
|
||||
if (matches == null || matches.Count() <= 0) {
|
||||
continue;
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Then select the one that matches the most.
|
||||
@@ -144,12 +144,12 @@ namespace NonaBGS.BGS {
|
||||
LogEntry existing = null;
|
||||
|
||||
existing = objective.LogEntries.Find(x => {
|
||||
try {
|
||||
return x.CompareTo(entry) == 0;
|
||||
} catch (NotImplementedException) {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
try {
|
||||
return x.CompareTo(entry) == 0;
|
||||
} catch (NotImplementedException) {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
if (collate && existing != null) {
|
||||
existing.Entries.Add(e);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using System.Linq;
|
||||
using EDJournal;
|
||||
|
||||
namespace NonaBGS.BGS {
|
||||
namespace EliteBGS.BGS {
|
||||
public class SellCargo : LogEntry {
|
||||
public override string ToString() {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Linq;
|
||||
using EDJournal;
|
||||
|
||||
namespace NonaBGS.BGS {
|
||||
namespace EliteBGS.BGS {
|
||||
public class SellMicroResources : LogEntry {
|
||||
public int TotalSum {
|
||||
get {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using System.Globalization;
|
||||
using EDJournal;
|
||||
|
||||
namespace NonaBGS.BGS {
|
||||
namespace EliteBGS.BGS {
|
||||
public class Vouchers : LogEntry {
|
||||
private string type = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user