Exemple #1
0
        private static void OnLoadingComplete(EventArgs args)
        {
            // Initial Text
            Chat.Print("<font color=\"#00BFFF\">CancerDarius </font>Jinx<font color=\"#000000\"> by cancerous </font> - <font color=\"#FFFFFF\">loaded</font>");

            // Verify the champion we made this addon for
            if (Player.Instance.ChampionName != ChampName)
            {
                // Champion is not the one we made this addon for,
                Chat.Print("You are not darius");
                return;
            }


            // Initialize the classes that we need
            Config.Initialize();
            SpellManager.Initialize();
            ModeManager.Initialize();

            // Listen to events we need
            Drawing.OnDraw += OnDraw;
        }