internal ClientConfig(TcpClient _clientSocket) { ClientConnection = _clientSocket; Uid = string.Empty; IpAddress = string.Empty; CurrentState = Enums.CLIENT_STATE.CONNECTING; ClientEndpoint = null; ShouldDisconnectConnection = false; }
private void SetState(Enums.CLIENT_STATE state) => Config.CurrentState = state;