public override void HandleAnyLogLine(NewLogEntriesContainer container) { foreach (var cond in Options.TriggerConditions) { if (cond.LogType == container.LogType) { ProcessLinesForCooldownTriggers(container.Entries, cond, true); } } }
internal NewLogEntries GetNewEvents() { NewLogEntries result = new NewLogEntries(); foreach (GameLogState log in CombinedLogsList) { List<string> newentries = log.UpdateAndGetNewEvents(); if (newentries != null) { NewLogEntriesContainer logentries = new NewLogEntriesContainer(); logentries.LogType = log.LogType; if (log.LogType == GameLogTypes.PM) logentries.PM_Player = log.PM_Name; logentries.EntriesWithTimestamps = newentries; logentries.Entries = RemoveTimestamps_DeepCopy(newentries); result.AllEntries.Add(logentries); } } return result; }
public virtual void HandleAnyLogLine(NewLogEntriesContainer container) { }