Пример #1
0
        private static void OnGameLoad()
        {
            if (ObjectManager.Player.CharacterName != "Ashe")
            {
                return;
            }

            Ashe.OnLoad();
        }
Пример #2
0
        private static void Main(string[] args)
        {
            Events.OnLoad += (sender, e) =>
            {
                if (Player.Instance.CharacterName != "Ashe")
                {
                    return;
                }

                Ashe.OnLoad();
            };
        }