#ifndef __GS__GAMEOBJECT_H__\r
#define __GS__GAMEOBJECT_H__\r
+\r
+#include <GameServ/Types.h>\r
+using GameServ::Types::ObjectTypes;\r
+\r
#include <functional>\r
#include <string>\r
using std::string;\r
using std::unary_function;\r
\r
-#include <boost/shared_ptr.hpp>\r
+#include <boost/smart_ptr/shared_ptr.hpp>\r
using boost::shared_ptr;\r
\r
namespace GameServ { namespace GameLayer { namespace GameObjects\r
*/\r
virtual GameObject *Clone(void) const = 0;\r
\r
+ virtual ObjectTypes::ObjectType ObjectType(void) const = 0;\r
+\r
bool operator==(const GameObject &right) const;\r
bool operator!=(const GameObject &right) const;\r
\r
+\r
protected:\r
string mId;\r
friend class GameObjectIds_Eq;\r