using System; using System.Collections.Generic; using System.Linq; using EDJournal; namespace EliteBGS.BGS { public class LogEntry : IComparable { private List entries = new List(); public bool IsExpanded { get; set; } /// /// Controlling faction of the station this entry was made/turned into. /// public string ControllingFaction { get; set; } = ""; public List Entries => entries; public string Station { get; set; } public string System { get; set; } public ulong SystemAddress { get; set; } public string Faction { get; set; } /// /// Whether this entry was manually added. Manually added entries are not deleted /// when a new scan is made. Instead they are preserved. /// public bool ManuallyAdded { get; set; } /// /// Whether this entry only benefits the controlling faction or not, default: no /// public virtual bool OnlyControllingFaction { get { return false; } } public virtual int CompareTo(LogEntry other) { throw new NotImplementedException("not implemented"); } public string Name => ToString(); } }