mirror of
https://github.com/love2d/love.git
synced 2026-08-19 04:06:17 +02:00
Expose C++ love.event Message name and args fields so other code can access them.
This commit is contained in:
@@ -49,10 +49,8 @@ public:
|
|||||||
int toLua(lua_State *L);
|
int toLua(lua_State *L);
|
||||||
static Message *fromLua(lua_State *L, int n);
|
static Message *fromLua(lua_State *L, int n);
|
||||||
|
|
||||||
private:
|
const std::string name;
|
||||||
|
const std::vector<Variant> args;
|
||||||
std::string name;
|
|
||||||
std::vector<Variant> args;
|
|
||||||
|
|
||||||
}; // Message
|
}; // Message
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user