示例#1
0
        public static void LoadLoader()
        {
            //Common Load
            AddonDisabler.LoadAddonDisabler();
            SpellManager.LoadSpells();
            MyMenu.LoadMyMenu();
            ModeManager.LoadModeManager();
            DamageIndicator.LoadDamageIndicator();
            DrawingManager.LoadDrawingManager();
            //Common Load

            //Custom Stuff for AutoJanna
            Map.LoadMap();
            PreventUltCancel.LoadPreventUltCancel();
            DangerManager.LoadDangerHandler();
            InterrupterManager.LoadInterrupterManager();
            AntiGapcloserManager.LoadAntiGapcloserManager();
            RecallManager.LoadRecallManager();
            AutoAttackManager.LoadAutoAttackManager();

            BuildItemsManager.LoadBuildItemsManager();
            AutoLevelSpellManager.LoadAutoLevelSpellManager();
            //Custom stuff for AutoJanna
            MYAdcSelectionManager.LoadMyAdcSelectionManager();

            Orbwalker.ActiveModesFlags = Orbwalker.ActiveModes.Combo;
        }
示例#2
0
        static Loader()
        {
            Menu = MainMenu.AddMenu("ReCore", "ReCore");
            Menu.AddGroupLabel("Special thanks to MarioGK for his Mario's Lib.");

            SummonerManager.Initialize();
            ItemManager.Initialize();
            SummonerList.Initialize();
            ItemsList.Initialize();
            Utility.Initialize();
            DangerManager.Initialize();

            Game.OnTick        += OnTick;
            Game.OnUpdate      += OnTick;
            Drawing.OnDraw     += Core.DrawingsUpdater.OnDraw;
            Drawing.OnEndScene += Core.DrawingsUpdater.OnEndScene;

            Menu.AddGroupLabel("Welcome to ReCore v." + AssVersion + " [BETA].");
            Status = Menu.Add("enableReCore", new CheckBox("Enable [NOT RECOMMEND]", false));
            Chat.Print("<font color='#FFFFFF'>ReCore v." + AssVersion + "</font> <font color='#CF2942'>[BETA]</font> <font color='#FFFFFF'>has been loaded.</font>");
        }