Send state of seats at the beginning of each hand.
This commit is contained in:
@@ -670,6 +670,22 @@ ServerGame::GetAndResetRejoinPlayers()
|
||||
return tmpList;
|
||||
}
|
||||
|
||||
void
|
||||
ServerGame::AddReactivatePlayer(unsigned playerId)
|
||||
{
|
||||
boost::mutex::scoped_lock lock(m_reactivatePlayerListMutex);
|
||||
m_reactivatePlayerList.push_back(playerId);
|
||||
}
|
||||
|
||||
PlayerIdList
|
||||
ServerGame::GetAndResetReactivatePlayers()
|
||||
{
|
||||
boost::mutex::scoped_lock lock(m_reactivatePlayerListMutex);
|
||||
PlayerIdList tmpList(m_reactivatePlayerList);
|
||||
m_reactivatePlayerList.clear();
|
||||
return tmpList;
|
||||
}
|
||||
|
||||
void
|
||||
ServerGame::AddComputerPlayer(boost::shared_ptr<PlayerData> player)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user