limitrank - draft with return false always

This commit is contained in:
Kai Philipp
2019-09-09 19:21:15 +02:00
parent add886ebee
commit e18e459434
5 changed files with 70 additions and 3 deletions
+5
View File
@@ -126,6 +126,9 @@ public:
void SetPlayerData(boost::shared_ptr<PlayerData> player);
boost::shared_ptr<PlayerData> GetPlayerData();
void SetPlayerLastGames(std::array<std::time_t> lastGames);
std::array<std::time_t> GetPlayerLastGames();
std::string GetRemoteIPAddressFromSocket() const;
protected:
@@ -159,6 +162,8 @@ private:
std::string m_password;
boost::shared_ptr<PlayerData> m_playerData;
std::array<std::time_t> m_lastGames;
mutable boost::mutex m_dataMutex;
};