コード例 #1
0
        static void Game_OnGameLoad()
        {
            if (Player.ChampionName != "Gragas")
            {
                return;
            }

            Chat.Print("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Nechrito Gragas</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> Version: 7 (Date: 27/6-16)</font></b>");

            MenuConfig.LoadMenu();
            Spells.Initialise();

            Game.OnUpdate += Mode.Game_OnUpdate;
            Game.OnUpdate += OnTick;

            Obj_AI_Base.OnSpellCast += OnSpellCast;

            GameObject.OnCreate += OnCreateObject;
            GameObject.OnDelete += GameObject_OnDelete;

            Drawing.OnDraw     += Drawing_OnDraw;
            Drawing.OnEndScene += Drawing_OnEndScene;
        }