Ejemplo n.º 1
0
        /// <summary>
        /// Called when the assembly is loaded.
        /// </summary>
        public static void OnLoad()
        {
            Variables.Menu = new Menu("DZAwareness", "dz191.dza", true);
            LogHelper.OnLoad();
            HudDisplay.OnLoad();

            foreach (var module in Variables.Modules)
            {
                module.OnLoad();
            }

            Variables.Menu.AddToMainMenu();

            ImageLoader.InitSprites();
            foreach (var element in HudVariables.HudElements)
            {
                element.OnLoad();
                element.InitDrawings();
            }

            DZAwareness.OnLoad();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Called when the assembly is loaded.
        /// </summary>
        public static void OnLoad()
        {
            Variables.Menu = new Menu("DZAwareness", "dz191.dza", true);



            LogHelper.OnLoad();
            HudDisplay.OnLoad();

            foreach (var enemy in HeroManager.Allies)
            {
                ImageLoader.AddedHeroes.Add(enemy.ChampionName, new HeroHudImage(enemy.ChampionName));
            }

            foreach (var module in Variables.Modules)
            {
                module.OnLoad();
            }

            Variables.Menu.AddToMainMenu();

            DZAwareness.OnLoad();
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Called when the assembly is loaded.
        /// </summary>
        public static void OnLoad()
        {
            Variables.Menu = MainMenu.AddMenu("DZAwareness", "dz191.dza");
            LogHelper.OnLoad();
            HudDisplay.OnLoad();

            foreach (var module in Variables.Modules)
            {
                module.OnLoad();
            }

            ImageLoader.InitSprites();

            foreach (var element in HudVariables.HudElements)
            {
                element.OnLoad();
                element.InitDrawings();
            }

            DZAwareness.OnLoad();

            Chat.Print("<font color='#2675A9'>DZ</font>Awareness Loaded: Remember to enable the HUD in the Options!");
        }