stupid unsigned removed
This commit is contained in:
@@ -404,14 +404,14 @@ SessionData::GetPlayerData()
|
||||
}
|
||||
|
||||
void
|
||||
SessionData::SetPlayerLastGames(std::vector<unsigned long> lastGames)
|
||||
SessionData::SetPlayerLastGames(std::vector<long> lastGames)
|
||||
{
|
||||
boost::mutex::scoped_lock lock(m_dataMutex);
|
||||
m_lastGames = lastGames;
|
||||
}
|
||||
|
||||
void
|
||||
SessionData::AddPlayerLastGame(unsigned long lastGame)
|
||||
SessionData::AddPlayerLastGame(long lastGame)
|
||||
{
|
||||
boost::mutex::scoped_lock lock(m_dataMutex);
|
||||
|
||||
@@ -420,7 +420,7 @@ SessionData::AddPlayerLastGame(unsigned long lastGame)
|
||||
// @TODO: remove overdued entries
|
||||
}
|
||||
|
||||
std::vector<unsigned long>
|
||||
std::vector<long>
|
||||
SessionData::GetPlayerLastGames()
|
||||
{
|
||||
boost::mutex::scoped_lock lock(m_dataMutex);
|
||||
|
||||
@@ -127,9 +127,9 @@ public:
|
||||
void SetPlayerData(boost::shared_ptr<PlayerData> player);
|
||||
boost::shared_ptr<PlayerData> GetPlayerData();
|
||||
|
||||
void AddPlayerLastGame(unsigned long lastGames);
|
||||
void SetPlayerLastGames(std::vector<unsigned long> lastGames);
|
||||
std::vector<unsigned long> GetPlayerLastGames();
|
||||
void AddPlayerLastGame(long lastGames);
|
||||
void SetPlayerLastGames(std::vector<long> lastGames);
|
||||
std::vector<long> GetPlayerLastGames();
|
||||
bool IsPlayerAllowedToJoinLimitRank();
|
||||
|
||||
std::string GetRemoteIPAddressFromSocket() const;
|
||||
@@ -165,7 +165,7 @@ private:
|
||||
std::string m_password;
|
||||
boost::shared_ptr<PlayerData> m_playerData;
|
||||
|
||||
std::vector<unsigned long> m_lastGames;
|
||||
std::vector<long> m_lastGames;
|
||||
|
||||
mutable boost::mutex m_dataMutex;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user