Add EngineWrapper for play_invoke_lua_call

This commit is contained in:
2024-08-28 22:02:25 -04:00
parent 811df62bc6
commit 368581463e
3 changed files with 41 additions and 0 deletions

View File

@@ -204,6 +204,12 @@ struct EngineWrapper {
//
void (*play_invoke_engio)(EngineWrapper *w, int64_t place, uint32_t datapklen, const char *datapk);
// Send an invoke/KIND_LUA_CALL
//
// This is the main pathway for blueprints to reach into lua.
//
void (*play_invoke_lua_call)(EngineWrapper *w, int64_t place, uint32_t datapklen, const char *datapk);
// Send an invoke/KIND_LUA_SOURCE
//
// This is used to update the lua source at runtime, without stopping