We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50d02de commit 07e2618Copy full SHA for 07e2618
2 files changed
src/lse/Entry.cpp
@@ -125,6 +125,11 @@ bool LegacyScriptEngine::load() {
125
}
126
127
128
+bool LegacyScriptEngine::unload() {
129
+ DebugEngine.reset();
130
+ return true;
131
+}
132
+
133
Config const& LegacyScriptEngine::getConfig() { return config; }
134
135
PluginManager& LegacyScriptEngine::getManager() {
src/lse/Entry.h
@@ -1,8 +1,8 @@
1
#pragma once
2
3
+#include "ll/api/mod/NativeMod.h"
4
#include "lse/Config.h"
5
#include "lse/PluginManager.h"
-#include "ll/api/mod/NativeMod.h"
6
7
namespace lse {
8
@@ -24,6 +24,8 @@ class LegacyScriptEngine {
24
25
bool enable();
26
27
+ bool unload();
28
29
private:
30
ll::mod::NativeMod& mSelf;
31
Config config; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
0 commit comments