Ejemplo n.º 1
0
 public override Task <BodyResponse <NullBody> > ConsumerHandler(CreateRoomMqCommand request)
 {
     return(_service.CreatRoom(request));
 }
Ejemplo n.º 2
0
 public Task <BodyResponse <NullBody> > CreatRoom(CreateRoomMqCommand creatInfo)
 {
     return(Task.FromResult(_gameRoomManager.CreateRoom(creatInfo.RoomType, creatInfo.RoomId, creatInfo.Blind, creatInfo.SeatCount,
                                                        creatInfo.MaxCoins, creatInfo.MaxCoins, creatInfo.TipsPersent, creatInfo.MinCarry, creatInfo.MaxCarry)));
 }