26 #if defined(_WIN32) && defined(HR_ENGINE_SHARED) 28 # define MR_DllDeclare __declspec( dllexport ) 30 # define MR_DllDeclare __declspec( dllimport ) 33 # define MR_DllDeclare 57 Class(
const std::string &name);
62 const std::string &
GetName()
const {
return name; }
65 using methods_t = std::map<const std::string, std::shared_ptr<Method>>;
68 void AddMethod(std::shared_ptr<Method> method);
69 std::shared_ptr<Method> GetMethod(
const std::string &methodName)
const;
#define MR_DllDeclare
Definition: Class.h:33
std::string name
Definition: Class.h:72
std::map< const std::string, std::shared_ptr< Method >> methods_t
Definition: Class.h:65
API documentation for a Lua class.
Definition: Class.h:52
Definition: Announcement.h:24
methods_t methods
Definition: Class.h:73
const std::string & GetName() const
Definition: Class.h:62
const methods_t & GetMethods() const
Definition: Class.h:66