Beispiel #1
0
        private void ProcessEvent(COEvent v, LogLineEventArgs logInfo)
        {
            if (ActGlobals.oFormActMain.SetEncounter(logInfo.detectedTime, v.ownerDisplay, v.targetDisplay))
                ActGlobals.oFormActMain.AddCombatAction(v.swingtype, v.critical, v.flags, v.ownerDisplay, v.eventDisplay, v.dnum, logInfo.detectedTime, ActGlobals.oFormActMain.GlobalTimeSorter, v.targetDisplay, v.type);

            if (v.kill)
                ActGlobals.oFormActMain.AddCombatAction(v.swingtype, v.critical, "None", v.ownerDisplay, "Killing", Dnum.Death, logInfo.detectedTime, ActGlobals.oFormActMain.GlobalTimeSorter, v.targetDisplay, v.type);
        }
Beispiel #2
0
        void oFormActMain_BeforeLogLineRead(bool isImport, LogLineEventArgs logInfo)
        {
            // Do we have a valid log file line?
            if (!logInfo.logLine.Contains("::")) return;

            ActGlobals.oFormActMain.GlobalTimeSorter++;

            //pass log line into co event constructor
            COEvent v = new COEvent(logInfo.logLine, checkBox_UseAccountName.Checked);

            //process the event
            if (!v.ignore) { ProcessEvent(v, logInfo); }

        }