limitrank - draft with return false always
This commit is contained in:
@@ -38,6 +38,8 @@
|
||||
#include <net/websocketdata.h>
|
||||
#include <gsasl.h>
|
||||
|
||||
// #include <ctime> // @TODO: remove if really not necessary
|
||||
|
||||
using namespace std;
|
||||
using boost::asio::ip::tcp;
|
||||
|
||||
@@ -398,6 +400,20 @@ SessionData::GetPlayerData()
|
||||
return m_playerData;
|
||||
}
|
||||
|
||||
void
|
||||
SessionData::SetPlayerLastGames(std::array<std::time_t> lastGames)
|
||||
{
|
||||
boost::mutex::scoped_lock lock(m_dataMutex);
|
||||
m_lastGames = player;
|
||||
}
|
||||
|
||||
std::array<std::time_t>
|
||||
SessionData::GetPlayerLastGames()
|
||||
{
|
||||
boost::mutex::scoped_lock lock(m_dataMutex);
|
||||
return m_lastGames;
|
||||
}
|
||||
|
||||
string
|
||||
SessionData::GetRemoteIPAddressFromSocket() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user