Configuration is transferred. A new game should be started on client side, but signal/slot is not working yet. Oh well.

This commit is contained in:
lotodore
2007-04-27 21:35:18 +00:00
parent ea5d62261c
commit 73a5117066
19 changed files with 324 additions and 134 deletions
+8 -2
View File
@@ -309,18 +309,24 @@ ServerRecvThread::GetReceiver()
}
const GameData &
ServerRecvThread::GetGameData()
ServerRecvThread::GetGameData() const
{
assert(m_gameData.get());
return *m_gameData;
}
bool
ServerRecvThread::CheckPassword(const std::string &password)
ServerRecvThread::CheckPassword(const std::string &password) const
{
return (password == m_password);
}
PlayerDataList &
ServerRecvThread::GetPlayerDataList()
{
return m_playerDataList;
}
ServerSenderCallback &
ServerRecvThread::GetSenderCallback()
{