Save() 공개 메소드

public Save ( string filePath ) : void
filePath string
리턴 void
예제 #1
0
        public bool RegisterPlayer(Player player)
        {
            if (!this.AuthenticateRegistration(player.Name, player.Password)) return false;

            this.AppendPlayerName(player.Name);

            player.AccessLevel = Player.AccessLevels.Player;

            player.Save(Constants.FILEPATH_PLAYERS);

            return true;
        }