#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
*/\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