void oFormSpellTimers_OnSpellTimerExpire(TimerFrame spellTimer) { if ((spellTimer.TimerData.Tooltip == "repeat" || (spellTimer.TimerData.Tooltip == "repeat combat" && ActGlobals.oFormActMain.InCombat))) { ActGlobals.oFormSpellTimers.NotifySpell(spellTimer.Combatant, spellTimer.Name, true, string.Empty, true); } }
public SerializableTimerFrameEntry(TimerFrame timerFrame) { this.Update(timerFrame); this.SpellTimers = new List <SerializableSpellTimerEntry>(); this.Original = timerFrame; }
public SerializableTimerFrameEntry(TimerFrame timerFrame) { this.Update(timerFrame); this.SpellTimers = new List<SerializableSpellTimerEntry>(); this.Original = timerFrame; }
void b_Click(object sender, EventArgs e) { Button b = (Button)sender; TimerFrame frame = (TimerFrame)b.Tag; frame.SpellTimers.Clear(); repeatingTimers.Remove(frame.TimerData.Key); flowPanel.Controls.Remove(b); }
void oFormSpellTimers_OnSpellTimerRemoved(TimerFrame actionInfo) { if (dataStruct == null) { return; } dataStruct.TimerActive = false; WriteJSON(dataStruct); }
void oFormSpellTimers_OnSpellTimerWarning(TimerFrame actionInfo) { if (dataStruct == null) { return; } dataStruct.TimerActive = true; WriteJSON(dataStruct); }
public void Update(TimerFrame timerFrame) { this.Name = timerFrame.Name; this.Key = timerFrame.TimerData.Key; this.Color = timerFrame.TimerData.FillColor.ToArgb(); this.StartCount = timerFrame.TimerData.TimerValue; this.WarningCount = timerFrame.TimerData.WarningValue; this.ExpireCount = timerFrame.TimerData.RemoveValue; this.Tooltip = timerFrame.TimerData.Tooltip; this.OnlyMasterTicks = timerFrame.TimerData.OnlyMasterTicks; this.AbsoluteTiming = timerFrame.TimerData.AbsoluteTiming; //this.OneOnly = timerFrame.OneOnly; //this.MasterExists = timerFrame.MasterExists; }
void oFormSpellTimers_OnSpellTimerWarning(TimerFrame actionInfo) { if (ChromaReady == true && chk_enableTimers.Checked && timerevent == "Warning") { flashState("timer", timercount, tickspeed); } }