public SpamArcaneBolt(Common common) { SmartArcaneBoltMenu = common.MenuConfig.MoreMenu.SmartArcaneBoltMenu; Abilities = (Abilities)common.Abilities; TargetSelector = common.TargetSelector; UpdateHandler = UpdateManager.Subscribe(30, false, OnUpdate); SmartArcaneBoltMenu.SpamHotkeyItem.ValueChanged += SpamHotkeyChanged; }
public UpdateMode(Common common) { BlinkDaggerMenu = common.MenuConfig.ComboMenu.BlinkDaggerMenu; SmartArcaneBoltMenu = ((MoreMenu)common.MenuConfig.MoreMenu).SmartArcaneBoltMenu; FarmMenu = common.MenuConfig.FarmMenu; RadiusMenu = (RadiusMenu)common.MenuConfig.RadiusMenu; Abilities = (Abilities)common.Abilities; TargetSelector = common.TargetSelector; Run(); }
public Combo(Common common) : base(common.MenuConfig) { SpellsMenu = common.MenuConfig.ComboMenu.SpellsMenu; ItemsMenu = common.MenuConfig.ComboMenu.ItemsMenu; MysticFlareMenu = ((ComboMenu)common.MenuConfig.ComboMenu).MysticFlareMenu; BlinkDaggerMenu = common.MenuConfig.ComboMenu.BlinkDaggerMenu; AeonDiskMenu = common.MenuConfig.ComboMenu.AeonDiskMenu; WithMuteMenu = common.MenuConfig.ComboMenu.WithMuteMenu; SmartConcussiveShotMenu = ((MoreMenu)common.MenuConfig.MoreMenu).SmartConcussiveShotMenu; BladeMailMenu = common.MenuConfig.BladeMailMenu; Abilities = (Abilities)common.Abilities; TargetSelector = common.TargetSelector; LinkenBreaker = common.LinkenBreaker; }
public BaseRenderer(BaseCommon common) { MenuConfig = common.MenuConfig; ComboMenu = MenuConfig.ComboMenu; WithMuteMenu = MenuConfig.ComboMenu.WithMuteMenu; UnitComboMenu = MenuConfig.UnitMenu.UnitComboMenu; UnitControlMenu = MenuConfig.UnitMenu.UnitControlMenu; UnitFarmMenu = MenuConfig.UnitMenu.UnitFarmMenu; SettingsMenu = MenuConfig.SettingsMenu; DamageCalculationMenu = SettingsMenu.DrawingMenu.DamageCalculationMenu; TextPanelMenu = common.MenuConfig.SettingsMenu.DrawingMenu.TextPanelMenu; TargetSelector = common.TargetSelector; PanelMove = new PanelMove(TextPanelMenu.Position.Value); if (!SettingsMenu.DisableDrawingItem) { RendererManager.TextureManager.LoadFromDivine(@"others\green_arrow.png"); if (TextPanelMenu.ComboPanelItem) { Size.Y += 60; } if (TextPanelMenu.UnitComboPanelItem) { Size.Y += 90; } PanelMove.Size = Size; RendererManager.OnDraw += RendererOnDraw; Drawing.OnDraw += OnDraw; TextPanelMenu.MoveItem.Changed += MoveChanged; PanelMove.ValueChanged += PanelMoveChanged; TextPanelMenu.ComboPanelItem.Changed += ComboPanelChanged; TextPanelMenu.UnitComboPanelItem.Changed += UnitComboPanelChanged; } SettingsMenu.DisableDrawingItem.Changed += DisableChanged; }
public void Pulse() { Monitor.OverlayUpdate(); if (DateTime.Now < pulseLimiter) { return; } pulseLimiter = DateTime.Now.AddSeconds(1); var _class = RoutineManager.CurrentClass; if (DateTime.Now > saveFormTime) { FormManager.SaveFormInstances(); if (Me.ClassLevel < 70) { Logger.KefkaLog("We are currently level synced to level {0}", Me.ClassLevel); } if (_inInstance && Common_Utils.InActiveInstance()) { Logger.DebugLog($"Instance Time Remaining: {Common_Utils.InstanceTimeRemaining}"); } saveFormTime = DateTime.Now.AddSeconds(60); } try { Group.UpdateAllies(); } catch (Exception e) { Logger.KefkaLog(e.ToString()); } Monitor.SpellLog(); AutoDuty.AutoDutyRoot(); FormManager.Window_Check(); TargetSelectorManager.UpdatePartyMembers(); CombatHelper.ResetLastUsed(); }
public Common() { TargetSelector = new TargetSelectorManager(MenuConfig); DamageCalculation = new DamageCalculation(this); LinkenBreaker = new LinkenBreaker(this); KillSteal = new KillSteal(this); Combo = new Combo(this); UpdateMode = new UpdateMode(this); AutoCombo = new AutoCombo(this); Farm = new Farm(this); AutoArcaneBolt = new AutoArcaneBolt(this); SpamArcaneBolt = new SpamArcaneBolt(this); Disable = new Disable(this); EulControl = new EulControl(this); ExecuteOrder = new ExecuteOrder(this); Renderer = new Renderer(this); }
public LinkenBreaker(Common common) : base(common.MenuConfig) { Abilities = (Abilities)common.Abilities; TargetSelector = common.TargetSelector; }