private static async Task CallServerGameOverAsync() { await _gameHubConnection.PlayerStatusChange(new PlayerStateDto { GameId = _gameId, State = PlayerStateTypes.Lost }); }
public async void PlayerReady() { await _gameHubConnection.PlayerStatusChange(new PlayerStateDto { State = PlayerStateTypes.Ready }); }