Esempio n. 1
0
        // Let's use this event to call methods from other classes.
        private static void Game_OnTick(EventArgs args)
        {
            // Only preform mode actions while alive.
            if (Player.Instance.IsDead)
            {
                return;
            }

            // Check if the user is using the correlating mode to the OrbWalker.
            if (Orbwalker.ActiveModesFlags == Orbwalker.ActiveModes.Combo)
            {
                ModeManager.Combo();
            }
        }
Esempio n. 2
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != ChampName)
            {
                Chat.Print(Player.Instance.ChampionName);
                return;
            }
            Config.Initialize();
            SpellManager.Initialize();
            ModeManager.Initialize();

            Drawing.OnDraw += GameEvent.OnDraw;
//			Orbwalker.OnUnkillableMinion += GameEvent.On_Unkillable_Minion;
            Config.Modes.Misc._SelfW.OnValueChange += GameEvent.SelfW_OnValueChanged;
            Gapcloser.OnGapcloser     += GameEvent.Gapcloser_OnGapCloser;
            Obj_AI_Base.OnBasicAttack += GameEvent.ObjTurret_OnTurretDamage;
        }
Esempio n. 3
0
        private static void OnLoadingComplete(EventArgs args)
        {
            // Verify the champion we made this addon for
            if (Player.Instance.ChampionName != ChampName)
            {
                // Champion is not the one we made this addon for,
                // therefore we return
                return;
            }
            // Initialize the classes that we need
            Config.Initialize();
            SpellManager.Initialize();
            ModeManager.Initialize();

            // Listen to events we need
            Drawing.OnDraw += OnDraw;
        }
Esempio n. 4
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != ChampName)
            {
                return;
            }

            Config.Initialize();
            SpellManager.Initialize();
            ModeManager.Initialize();

            DamageHelper.Initialize();
            StealthHelper.Initialize();

            Drawing.OnDraw += GameEvent.OnDraw;
            Config.Modes.Misc._stealthRecall.OnValueChange += GameEvent.StealthRecall_OnValueChanged;

            Config.Modes.Draw._useHax.OnValueChange  += GameEvent.UseHax_OnValueChanged;
            Config.Modes.Draw._skinhax.OnValueChange += GameEvent.SkinHax_OnValueChanged;
        }
Esempio n. 5
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != ChampName)
            {
                Chat.Print(Player.Instance.ChampionName);
                return;
            }
            SkinBase = Player.Instance.SkinId;
            Config.Initialize();
            SpellManager.Initialize();
            ModeManager.Initialize();

            Drawing.OnDraw += GameEvent.OnDraw;
            Config.Modes.Draw._useHax.OnValueChange  += GameEvent.UseHax_OnValueChanged;
            Config.Modes.Draw._skinhax.OnValueChange += GameEvent.SkinHax_OnValueChanged;
            Config.Modes.Misc._SelfW.OnValueChange   += GameEvent.SelfW_OnValueChanged;
            if (Config.Modes.Misc.EGapClos)
            {
                Gapcloser.OnGapcloser += GameEvent.Gapcloser_OnGapCloser;
            }
            Obj_AI_Base.OnBasicAttack += GameEvent.ObjTurret_OnTurretDamage;
        }