mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +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);
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user