Example #1
0
        public void SetName(string newName)
        {
            string oldName = PlayerName;

            PlayerName = newName;
            if (oldName != PlayerName)
            {
                RavenhillEvents.OnPlayerNameChanged(oldName, PlayerName);
            }
        }