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);
            }
        }