コード例 #1
0
 public PokerServer(ICommandBus cmdBus, ITableProjection tableProjection, IPlayerConnectionMap playerConnectionMap, IClientChannel clientChannel)
 {
     _cmdBus = cmdBus;
     _tables = tableProjection;
     _playerConnectionMap = playerConnectionMap;
     _clientChannel = clientChannel;
 }
コード例 #2
0
        public PokerServer(ICommandBus cmdBus, ITableProjection tableProjection, IPlayerConnectionMap playerConnectionMap)
        {
            _cmdBus = cmdBus;
            _tables = tableProjection;
            _playerConnectionMap = playerConnectionMap;

            ////TODO: Remove once we have accounts.//
            //_availablePlayerIds.Push(PLAYER_1_ID);
            //_availablePlayerIds.Push(PLAYER_2_ID);
            //_availablePlayerIds.Push(PLAYER_3_ID);
            //_availablePlayerIds.Push(PLAYER_4_ID);
            /////////////////////////////////////////
        }