Working on probe: drv_call_function can now return a string

This commit is contained in:
2024-09-04 21:00:47 -04:00
parent a6e68cbb35
commit 43a02db7f3
7 changed files with 35 additions and 25 deletions

View File

@@ -25,6 +25,7 @@ enum class InvocationKind {
LUA_CALL,
LUA_EXPR,
LUA_SOURCE,
LUA_PROBE,
FLUSH_PRINTS,
TICK,
};
@@ -211,7 +212,7 @@ struct EngineWrapper {
// This is the main pathway for blueprints, or the unreal C++ code,
// to change the state of the world.
//
void (*play_call_function)(EngineWrapper *w, InvocationKind kind, int64_t place, uint32_t datapklen, const char *datapk);
void (*play_call_function)(EngineWrapper *w, InvocationKind kind, int64_t place, uint32_t datapklen, const char *datapk, uint32_t *retpklen, const char **retpk);
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////