Esempio n. 1
0
 /// <summary>
 /// This event is triggered when the game loads
 /// </summary>
 /// <param name="args"></param>
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     if (Player.Instance.ChampionName != "Skarner")
     {
         return;
     }
     Core.DelayAction(() =>
     {
         introImg = new Sprite(TextureLoader.BitmapToTexture(Resources.anime));
         Chat.Print("<b><font size='20' color='#4B0082'>Ronin Skarner</font><font size='20' color='#FFA07A'> Loaded</font></b>");
         Drawing.OnDraw += DrawingOnOnDraw;
         Core.DelayAction(() =>
         {
             Drawing.OnDraw -= DrawingOnOnDraw;
         }, 7000);
     }, 2000);
     SpellsManager.InitializeSpells();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     _W.Initialize();
     _W_Advance.Initialize();
     DrawingsManager.InitializeDrawings();
     Interrupter.OnInterruptableSpell += ModeManager.Interrupter_OnInterruptableSpell;
     Gapcloser.OnGapcloser            += ModeManager.AntiGapCloser;
     FpsBooster.Initialize();
     if (!SpellManager.HasSmite())
     {
         Chat.Print("No smite detected - unloading Smite.", System.Drawing.Color.Red);
         return;
     }
     Config.Initialize();
     ModeManagerSmite.Initialize();
     Events.Initialize();
 }
 /// <summary>
 /// This event is triggered when the game loads
 /// </summary>
 /// <param name="args"></param>
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     if (Player.Instance.ChampionName != "Skarner")
     {
         return;
     }
     Chat.Print("Welcome to the Ronin´s BETA ;)");
     SpellsManager.InitializeSpells();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     _W.Initialize();
     _W_Advance.Initialize();
     DrawingsManager.InitializeDrawings();
 }