コード例 #1
0
 public static GameStartedCommand GameStartedCommand()
 {
     return(new GameStartedCommand()
     {
         TableId = 42, NeededBlindAmount = 84, Seats = SeatInfoMock.AllSeats()
     });
 }
コード例 #2
0
        public static JoinTableResponse JoinTableResponse()
        {
            var response = JoinTableCommand().ResponseSuccess();

            response.Params = TableParamsMock.ParamsOne();
            //response.TotalPotAmount = 126;
            //response.PotsAmount = new List<int>() { 5, 10, 15, 20 };
            //response.BoardCards = new[] { "2s", "5h", "Jd", "Ac" };
            response.Seats          = SeatInfoMock.AllSeats();
            response.GameHasStarted = true;

            return(response);
        }
コード例 #3
0
 public static BetTurnStartedCommand BetTurnStartedCommand()
 {
     return(new BetTurnStartedCommand()
     {
         TableId = 42, Cards = new[] { "2s", "5h", "Jd", "Ac" }, BettingRoundId = 4, Seats = SeatInfoMock.AllSeats()
     });
 }