aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/plugins/plugins.h
diff options
context:
space:
mode:
authorcat_or_not <41955154+catornot@users.noreply.github.com>2023-11-05 20:21:50 -0500
committerGitHub <noreply@github.com>2023-11-06 02:21:50 +0100
commitbb822b7638d5ae9bc4499ff76edc74f3741e6518 (patch)
tree558886bd28dc53d1004e235be1c1543c5ec2fd9f /NorthstarDLL/plugins/plugins.h
parent583bae6e1a7e35eec2c5cb4383bc0089f6ee6781 (diff)
downloadNorthstarLauncher-1.20.0.tar.gz
NorthstarLauncher-1.20.0.zip
- nuked presence logic ( moved to the discord rpc plugin ) - more exposed sq functions - exposed dll addresses - `g_pCVar` is exposed - added "userdata" to plugin's async call - added runframe to plugins
Diffstat (limited to 'NorthstarDLL/plugins/plugins.h')
-rw-r--r--NorthstarDLL/plugins/plugins.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/NorthstarDLL/plugins/plugins.h b/NorthstarDLL/plugins/plugins.h
index ffa277d0..d91b2811 100644
--- a/NorthstarDLL/plugins/plugins.h
+++ b/NorthstarDLL/plugins/plugins.h
@@ -30,8 +30,9 @@ class Plugin
PLUGIN_INFORM_SQVM_CREATED_TYPE inform_sqvm_created;
PLUGIN_INFORM_SQVM_DESTROYED_TYPE inform_sqvm_destroyed;
- PLUGIN_PUSH_PRESENCE_TYPE push_presence;
PLUGIN_INFORM_DLL_LOAD_TYPE inform_dll_load;
+
+ PLUGIN_RUNFRAME run_frame;
};
class PluginManager
@@ -46,9 +47,10 @@ class PluginManager
void InformSQVMLoad(ScriptContext context, SquirrelFunctions* s);
void InformSQVMCreated(ScriptContext context, CSquirrelVM* sqvm);
void InformSQVMDestroyed(ScriptContext context);
- void PushPresence(PluginGameStatePresence* data);
- void InformDLLLoad(PluginLoadDLL dll, void* data);
+ void InformDLLLoad(const char* dll, void* data, void* dllPtr);
+
+ void RunFrame();
private:
std::string pluginPath;