aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/modmanager.h
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-21 00:51:32 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-21 00:51:32 +0100
commit93fe64e04ed766727634e5b5f6906f6461a70711 (patch)
tree467f58533ddf4c139f896166894bde8213fd34c8 /NorthstarDedicatedTest/modmanager.h
parent958d03d2817e312c8eb70234f1c65e4bcbded716 (diff)
downloadNorthstarLauncher-93fe64e04ed766727634e5b5f6906f6461a70711.tar.gz
NorthstarLauncher-93fe64e04ed766727634e5b5f6906f6461a70711.zip
add eval commands and script compile error hook
Diffstat (limited to 'NorthstarDedicatedTest/modmanager.h')
-rw-r--r--NorthstarDedicatedTest/modmanager.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/modmanager.h b/NorthstarDedicatedTest/modmanager.h
index f2501bed..c5ddb09f 100644
--- a/NorthstarDedicatedTest/modmanager.h
+++ b/NorthstarDedicatedTest/modmanager.h
@@ -19,7 +19,10 @@ public:
class ModScriptCallback
{
public:
- std::string HookedCodeCallback;
+ // would've liked to make it possible to hook arbitrary codecallbacks, but couldn't find a function that calls some ui ones
+ //std::string HookedCodeCallback;
+
+ Context Context;
// called before the codecallback is executed
std::string BeforeCallback;