Ejemplo n.º 1
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;
        }
Ejemplo n.º 2
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;
        }
Ejemplo n.º 3
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;
        }
Ejemplo n.º 4
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;
        }