Expose C++ love.event Message name and args fields so other code can access them.

This commit is contained in:
Alex Szpakowski
2018-12-21 14:12:44 -04:00
parent 29f8667cbc
commit fc17ecba0d
+2 -4
View File
@@ -49,10 +49,8 @@ public:
int toLua(lua_State *L);
static Message *fromLua(lua_State *L, int n);
private:
std::string name;
std::vector<Variant> args;
const std::string name;
const std::vector<Variant> args;
}; // Message