private void HandleError(ErrorType errorType) { Logger.Error("[ResponseEntry.HandleError] erroType = " + errorType.ToString()); switch (errorType) { case ErrorType.NO_PLAYING_GAME: //재접속시 게임종료됐을때 UIManager.inst.Alert(errorType.GetDesc()); break; case ErrorType.ROOM_IS_PLAYING: UIManager.inst.Alert(errorType.GetDesc()); TcpSocket.inst.Request.JoinRunningGame(Main.inst.GetPlayerId(), (req, result) => { Main.inst.JoinRoom(true, result); }); break; case ErrorType.ROOM_IS_FULL: UIManager.inst.Alert("방이 가득 찼습니다. 게임 종료까지 남았습니다."); break; } }