Example #1
0
        private static void OnGameLoad()
        {
            try
            {
                player = ObjectManager.Player;
                switch (player.CharacterName)
                {
                case "Twitch":
                    Twitch.Load();
                    break;

                case "Leona":
                    Leona.Load();
                    break;

                case "Pyke":
                    Pyke.Load();
                    break;
                }
            }
            catch (Exception e)
            {
                Console.WriteLine("Failed To load: " + e);
            }
        }
Example #2
0
        private static void GameEventOnOnGameLoad()

        {
            var notify = new Notification("Blank.AIO",
                                          "Blank.AIO Loaded. \n \n");

            Notifications.Add(notify);
            switch (Player.CharacterName)
            {
            case "Leona":
                Champions.Leona.LeonaMain();
                break;

            case "Pyke":
                Pyke.On_Load();
                break;
            }
        }