diff --git a/EDPlayerJournal/BGS/TransactionParser.cs b/EDPlayerJournal/BGS/TransactionParser.cs index f7220d2..bd4a46f 100644 --- a/EDPlayerJournal/BGS/TransactionParser.cs +++ b/EDPlayerJournal/BGS/TransactionParser.cs @@ -747,6 +747,17 @@ public class TransactionParser { { Events.SupercruiseEntry, new SupercruiseEntryParser() }, }; + public bool IsRelevant(string entry) { + return ParserParts.ContainsKey(entry); + } + + public bool IsRelevant(Entry e) { + if (e.Event == null) { + return false; + } + return IsRelevant(e.Event); + } + public List? Parse(IEnumerable entries) { TransactionList transactions = new(); TransactionParserContext context = new();