Removed dependencies on old preflop/flop/turn/river interface from networking. Compiles, but networking is BROKEN. Also includes first try of computer players for networking, which is broken, too.
This commit is contained in:
@@ -112,6 +112,8 @@ protected:
|
||||
void RemoveNotEstablishedSessions();
|
||||
void RemoveDisconnectedPlayers();
|
||||
|
||||
void AddComputerPlayer(boost::shared_ptr<PlayerData> player);
|
||||
|
||||
size_t GetCurNumberOfPlayers() const;
|
||||
bool IsPlayerConnected(const std::string &playerName) const;
|
||||
bool IsPlayerConnected(unsigned uniquePlayerId) const;
|
||||
@@ -147,6 +149,8 @@ private:
|
||||
SocketSessionMap m_sessionMap;
|
||||
mutable boost::mutex m_sessionMapMutex;
|
||||
|
||||
PlayerDataList m_computerPlayers;
|
||||
|
||||
CloseSessionList m_closeSessionList;
|
||||
|
||||
std::auto_ptr<ReceiverHelper> m_receiver;
|
||||
|
||||
Reference in New Issue
Block a user