Archived
1
0
This repository has been archived on 2021-10-19. You can view files and clone it, but cannot push or open issues or pull requests.
nonabgs/BGS/LogEntry.cs

37 lines
1.2 KiB
C#
Raw Normal View History

2021-07-09 11:03:30 +02:00
using System;
using System.Collections.Generic;
using System.Linq;
2021-08-25 16:36:57 +02:00
using EDJournal;
2021-07-09 11:03:30 +02:00
namespace NonaBGS.BGS {
public class LogEntry : IComparable<LogEntry> {
2021-07-09 11:03:30 +02:00
private List<Entry> entries = new List<Entry>();
/// <summary>
/// Controlling faction of the station this entry was made/turned into.
/// </summary>
public string ControllingFaction { get; set; } = "";
2021-07-09 11:03:30 +02:00
public List<Entry> Entries => entries;
public string Station { get; set; }
public string System { get; set; }
public string Faction { get; set; }
2021-09-30 13:28:52 +02:00
/// <summary>
/// Whether this entry was manually added. Manually added entries are not deleted
/// when a new scan is made. Instead they are preserved.
/// </summary>
public bool ManuallyAdded { get; set; }
2021-07-09 11:03:30 +02:00
/// <summary>
/// Whether this entry only benefits the controlling faction or not, default: no
/// </summary>
public virtual bool OnlyControllingFaction {
get { return false; }
}
public virtual int CompareTo(LogEntry other) {
throw new NotImplementedException("not implemented");
}
2021-07-09 11:03:30 +02:00
}
}