aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/plugins.h
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/plugins.h')
-rw-r--r--NorthstarDedicatedTest/plugins.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/plugins.h b/NorthstarDedicatedTest/plugins.h
new file mode 100644
index 00000000..27312da9
--- /dev/null
+++ b/NorthstarDedicatedTest/plugins.h
@@ -0,0 +1,19 @@
+#pragma once
+#include "plugin_abi.h"
+
+int getServerInfoChar(char* out_buf, size_t out_buf_len, ServerInfoType var);
+int getServerInfoInt(int* out_ptr, ServerInfoType var);
+int getServerInfoBool(bool* out_ptr, ServerInfoType var);
+
+int getGameStateChar(char* out_buf, size_t out_buf_len, GameStateInfoType var);
+int getGameStateInt(int* out_ptr, GameStateInfoType var);
+int getGameStateBool(bool* out_ptr, GameStateInfoType var);
+
+int getPlayerInfoChar(char* out_buf, size_t out_buf_len, PlayerInfoType var);
+int getPlayerInfoInt(int* out_ptr, PlayerInfoType var);
+int getPlayerInfoBool(bool* out_ptr, PlayerInfoType var);
+
+void initGameState();
+void* getPluginObject(PluginObject var);
+
+void InitialisePluginCommands(HMODULE baseAddress); \ No newline at end of file