Пример #1
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (!SupportedHeros.Contains(Player.Instance.Hero))
            {
                return;
            }
            var Instance = (Base)Activator.CreateInstance(null, "KappAIO.Champions." + Player.Instance.Hero + "." + Player.Instance.Hero).Unwrap();

            KappaEvade.Init();
            CheckVersion.Init();
            Utility.Activator.Load.Init();
            Events.Init();
        }
Пример #2
0
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Utility.Load.Init();
     //if(Utility.Activator.Load.MenuIni.CheckBoxValue("Champ")) return;
     try
     {
         var Instance = (Base)Activator.CreateInstance(null, "KappAIO.Champions." + Player.Instance.Hero + "." + Player.Instance.Hero).Unwrap();
         CheckVersion.Init();
     }
     catch (Exception)
     {
         Logger.Send(Player.Instance.ChampionName + " Not Supported By KappAIO", Logger.LogLevel.Warn);
     }
 }