#include <GameServ/GameServException.h>\r
using GameServ::Exceptions::GameServException;\r
\r
+#include <boost/date_time/posix_time/posix_time.hpp>\r
+using boost::posix_time::ptime;\r
+\r
PlayerGO::PlayerGO() : GameObject(), mName(""), mLevel(1), mExperience(0), mGold(0), mHealth(0), mMaxHealth(0), mStrength(1),\r
mDefense(1), mForestFights(0), mPlayerFights(0), mPassword("")\r
{\r
return mPassword;\r
}\r
\r
+void PlayerGO::LastLogin(const ptime &value)\r
+{\r
+ mLastLogin = value;\r
+}\r
+\r
+ptime PlayerGO::LastLogin(void) const\r
+{\r
+ return mLastLogin;\r
+}\r
+\r
bool PlayerGO::operator !=(const PlayerGO &right) const\r
{\r
return !(*this == right);\r
return new PlayerGO(*this);\r
}\r
\r
-\r