Ejemplo n.º 1
0
        public void OnNext(RoundEnded ended)
        {
            var roundData  = ConvertRoundSettingsToDto(ended.Settings);
            var resultData = new RoundResultDto(ended.GameUuid, roundData, ended.Result.PlayerResults.Select(
                                                    pres => new PlayerRoundResultDto(pres.Guesses, pres.TricksWon, pres.Score)
                                                    ));

            _client.GameRoundEnded(resultData);
        }