Beispiel #1
0
 public override void HandleAnyLogLine(NewLogEntriesContainer container)
 {
     foreach (var cond in Options.TriggerConditions)
     {
         if (cond.LogType == container.LogType)
         {
             ProcessLinesForCooldownTriggers(container.Entries, cond, true);
         }
     }
 }
Beispiel #2
0
        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;
        }
Beispiel #3
0
        public virtual void HandleAnyLogLine(NewLogEntriesContainer container)
        {

        }