Add system call intercepts to Lua

This commit is contained in:
wheremyfoodat 2025-07-03 13:02:10 +03:00
parent 620e3699ec
commit 228068901b
7 changed files with 147 additions and 34 deletions

View file

@ -47,6 +47,8 @@ class LuaManager {
signalEventInternal(e);
}
}
bool signalInterceptedService(const std::string& service, u32 function, u32 messagePointer);
};
#else // Lua not enabled, Lua manager does nothing
@ -60,5 +62,5 @@ class LuaManager {
void loadString(const std::string& code) {}
void reset() {}
void signalEvent(LuaEvent e) {}
};
bool signalInterceptedService(const std::string& service, u32 function, u32 messagePointer) { return false; }
#endif