public PokerServer(ICommandBus cmdBus, ITableProjection tableProjection, IPlayerConnectionMap playerConnectionMap, IClientChannel clientChannel) { _cmdBus = cmdBus; _tables = tableProjection; _playerConnectionMap = playerConnectionMap; _clientChannel = clientChannel; }
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); ///////////////////////////////////////// }