コード例 #1
0
        private ContinueRoundResponseViewModel GetContinueRoundResponse(List <GamePlayer> players)
        {
            GamePlayer human            = players.Where(m => m.Player.Type == (int)PlayerType.Human).First();
            string     humanRoundResult = _gamePlayerProvider.GetHumanRoundResult(human.BetPayCoefficient);
            ContinueRoundResponseViewModel continueRoundResponseViewModel =
                CustomMapper.GetContinueRoundResponseViewModel(players, human.GameId, humanRoundResult);

            return(continueRoundResponseViewModel);
        }