Пример #1
0
 public static GameStartedCommand GameStartedCommand()
 {
     return(new GameStartedCommand()
     {
         TableId = 42, NeededBlindAmount = 84, Seats = SeatInfoMock.AllSeats()
     });
 }
Пример #2
0
 public static SeatUpdatedCommand SeatUpdatedCommand()
 {
     return(new SeatUpdatedCommand()
     {
         TableId = 42, Seat = SeatInfoMock.SeatSeven()
     });
 }
Пример #3
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);
        }
Пример #4
0
 public static BetTurnStartedCommand BetTurnStartedCommand()
 {
     return(new BetTurnStartedCommand()
     {
         TableId = 42, Cards = new[] { "2s", "5h", "Jd", "Ac" }, BettingRoundId = 4, Seats = SeatInfoMock.AllSeats()
     });
 }