aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/hooks.h
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-03-18 09:37:03 +0000
committerGitHub <noreply@github.com>2022-03-18 09:37:03 +0000
commit92f77b231ac324cc1326bef31251fc6b86df1f3b (patch)
tree1d5a2843af2db31305a96c194e8b21280dccd340 /NorthstarDedicatedTest/hooks.h
parent50e69bde548c5a1af3385f0eff6aa14c088c21c5 (diff)
downloadNorthstarLauncher-92f77b231ac324cc1326bef31251fc6b86df1f3b.tar.gz
NorthstarLauncher-92f77b231ac324cc1326bef31251fc6b86df1f3b.zip
refactor dll load callbacks to lower number of dedicated.h includes (#109)
Diffstat (limited to 'NorthstarDedicatedTest/hooks.h')
-rw-r--r--NorthstarDedicatedTest/hooks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/hooks.h b/NorthstarDedicatedTest/hooks.h
index 45695990..ab7b3d64 100644
--- a/NorthstarDedicatedTest/hooks.h
+++ b/NorthstarDedicatedTest/hooks.h
@@ -5,5 +5,7 @@ void InstallInitialHooks();
typedef void (*DllLoadCallbackFuncType)(HMODULE moduleAddress);
void AddDllLoadCallback(std::string dll, DllLoadCallbackFuncType callback);
+void AddDllLoadCallbackForDedicatedServer(std::string dll, DllLoadCallbackFuncType callback);
+void AddDllLoadCallbackForClient(std::string dll, DllLoadCallbackFuncType callback);
void CallAllPendingDLLLoadCallbacks(); \ No newline at end of file