Esempio n. 1
0
        private static void Game_OnStart(EventArgs args)
        {
            var champion = ObjectManager.Player.ChampionName.ToLower();

            switch (champion)
            {
            case "viktor":
                Viktor.Init();
                break;
            }
        }
Esempio n. 2
0
        private static void Events_OnLoad()
        {
            if (!SupportList.Contains(GameObjects.Player.ChampionName))
            {
                Manager.WriteConsole(GameObjects.Player.ChampionName + " Not Support!", true);
                DelayAction.Add(2000, () => Variables.Orbwalker.Enabled = false);
                return;
            }

            Manager.WriteConsole(GameObjects.Player.ChampionName + " Load!  Version: " + Assembly.GetExecutingAssembly().GetName().Version.ToString(), true);

            Me = GameObjects.Player;

            Menu = new Menu("Flowers_Series", "Flowers' Series", true).Attach();
            Menu.Add(new MenuSeparator("Credit", "Credit: NightMoon"));
            Menu.Add(new MenuSeparator("Version", "Version: " + Assembly.GetExecutingAssembly().GetName().Version.ToString()));

            Utility.Tools.Inject();

            switch (Me.ChampionName)
            {
            case "Ahri":
                Ahri.Init();
                break;

            case "Akali":
                Akali.Init();
                break;

            case "Ashe":
                Ashe.Init();
                break;

            case "Blitzcrank":
                Blitzcrank.Init();
                break;

            case "Darius":
                Darius.Init();
                break;

            case "Ezreal":
                Ezreal.Init();
                break;

            case "Graves":
                Graves.Init();
                break;

            case "Hecarim":
                Hecarim.Init();
                break;

            case "Illaoi":
                Illaoi.Init();
                break;

            case "Karma":
                Karma.Init();
                break;

            case "Morgana":
                Morgana.Init();
                break;

            case "Riven":
                Riven.Init();
                break;

            case "Ryze":
                Ryze.Init();
                break;

            case "Sivir":
                Sivir.Init();
                break;

            case "Tristana":
                Tristana.Init();
                break;

            case "TwistedFate":
                TwistedFate.Init();
                break;

            case "Twitch":
                Twitch.Init();
                break;

            case "Vayne":
                Vayne.Init();
                break;

            case "Viktor":
                Viktor.Init();
                break;

            case "Vladimir":
                Vladimir.Init();
                break;

            default:
                break;
            }
        }
Esempio n. 3
0
        public PluginLoader()
        {
            if (!_loaded)
            {
                switch (ObjectManager.Player.ChampionName.ToLower())
                {
                case "ahri":
                    var ahri = new Ahri();
                    _loaded = true;
                    break;

                case "akali":
                    var akali = new Akali();
                    _loaded = true;
                    break;

                case "anivia":
                    var anivia = new Anivia();
                    break;

                case "cassiopeia":
                    var cassiopeia = new Cassiopeia();
                    _loaded = true;
                    break;

                case "ashe":
                    var ashe = new Ashe();
                    _loaded = true;
                    break;

                case "azir":
                    var azir = new Azir();
                    _loaded = true;
                    break;

                case "chogath":
                    var chogath = new Chogath();
                    _loaded = true;
                    break;

                case "corki":
                    var corki = new Corki();
                    _loaded = true;
                    break;

                case "ekko":
                    var ekko = new Ekko();
                    _loaded = true;
                    break;

                case "ezreal":
                    var ezreal = new Ezreal();
                    _loaded = true;
                    break;

                case "irelia":
                    var irelia = new Irelia();
                    _loaded = true;
                    break;

                case "jinx":
                    var jinx = new Jinx();
                    _loaded = true;
                    break;

                case "karthus":
                    var karthus = new Karthus();
                    _loaded = true;
                    break;

                case "katarina":
                    var katarina = new Katarina();
                    _loaded = true;
                    break;

                case "kogmaw":
                    var kogMaw = new KogMaw();
                    _loaded = true;
                    break;

                case "lissandra":
                    var lissandra = new Lissandra();
                    _loaded = true;
                    break;

                case "lucian":
                    var lucian = new Lucian();
                    _loaded = true;
                    break;

                case "jayce":
                    var jayce = new Jayce();
                    _loaded = true;
                    break;

                case "orianna":
                    var orianna = new Orianna();
                    _loaded = true;
                    break;

                case "rumble":
                    var rumble = new Rumble();
                    _loaded = true;
                    break;

                case "syndra":
                    var syndra = new Syndra();
                    _loaded = true;
                    break;

                case "vayne":
                    var vayne = new Vayne();
                    _loaded = true;
                    break;

                case "viktor":
                    var viktor = new Viktor();
                    _loaded = true;
                    break;

                case "vladimir":
                    var vladimir = new Vladimir();
                    _loaded = true;
                    break;

                case "urgot":
                    var urgot = new Urgot();
                    _loaded = true;
                    break;

                case "zyra":
                    var zyra = new Zyra();
                    _loaded = true;
                    break;

                default:
                    Notifications.AddNotification(ObjectManager.Player.ChampionName + " not supported!!", 10000);
                    break;
                }
            }
        }