mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Add callback parameter for core.emerge_area()
This commit is contained in:
parent
5c3546e459
commit
c2b5da735e
9 changed files with 166 additions and 22 deletions
|
@ -172,8 +172,7 @@ public:
|
|||
static void Initialize(lua_State *L, int top);
|
||||
};
|
||||
|
||||
class LuaABM : public ActiveBlockModifier
|
||||
{
|
||||
class LuaABM : public ActiveBlockModifier {
|
||||
private:
|
||||
int m_id;
|
||||
|
||||
|
@ -219,4 +218,12 @@ public:
|
|||
u32 active_object_count, u32 active_object_count_wider);
|
||||
};
|
||||
|
||||
struct ScriptCallbackState {
|
||||
GameScripting *script;
|
||||
int callback_ref;
|
||||
int args_ref;
|
||||
unsigned int refcount;
|
||||
std::string origin;
|
||||
};
|
||||
|
||||
#endif /* L_ENV_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue