Loading mods

Signed-off-by: Faumaray <faumaray@gmail.com>
This commit is contained in:
faumaray committed 2025-10-20 22:04:25 +03:00
1 parent de940dab27
commit 6ea34bf00b
10 files changed
+169 -10

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ class ModLoader {
public:
// Load a module (.so), discover CRTP-registered mod types, instantiate each with Context.
// Returns the number of instances created from this module.
std::size_t loadModule(const std::string& path, const Context& ctx);
std::size_t loadModule(const std::string& path, const Context& ctx, bool isGlobal);
// Start/stop all currently loaded instances.
void startAll();