aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/serverauthentication.h
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-01-02 03:52:39 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-01-02 03:52:39 +0000
commited0f27914710b75a246645380e167dad071adaa7 (patch)
tree5e5d14ece2ba07f5fe480cfae222a74a8a1a1746 /NorthstarDedicatedTest/serverauthentication.h
parent89d16c9a8a65e3b4872947c58df1ffd97fc63a4b (diff)
downloadNorthstarLauncher-ed0f27914710b75a246645380e167dad071adaa7.tar.gz
NorthstarLauncher-ed0f27914710b75a246645380e167dad071adaa7.zip
add disconnects to ban system
Diffstat (limited to 'NorthstarDedicatedTest/serverauthentication.h')
-rw-r--r--NorthstarDedicatedTest/serverauthentication.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/serverauthentication.h b/NorthstarDedicatedTest/serverauthentication.h
index a8863b2f..8b346f1d 100644
--- a/NorthstarDedicatedTest/serverauthentication.h
+++ b/NorthstarDedicatedTest/serverauthentication.h
@@ -94,6 +94,9 @@ public:
void WritePersistentData(void* player);
};
+typedef void(*CBaseClient__DisconnectType)(void* self, uint32_t unknownButAlways1, const char* reason, ...);
+extern CBaseClient__DisconnectType CBaseClient__Disconnect;
+
void InitialiseServerAuthentication(HMODULE baseAddress);
extern ServerAuthenticationManager* g_ServerAuthenticationManager;