aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/serverauthentication.h
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/serverauthentication.h')
-rw-r--r--NorthstarDedicatedTest/serverauthentication.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/serverauthentication.h b/NorthstarDedicatedTest/serverauthentication.h
index 66802f31..e9aae4f0 100644
--- a/NorthstarDedicatedTest/serverauthentication.h
+++ b/NorthstarDedicatedTest/serverauthentication.h
@@ -15,8 +15,10 @@ class ServerAuthenticationManager
{
public:
std::unordered_map<std::string, AuthData*> m_authData;
+ bool m_runningPlayerAuthThread = false;
public:
+ void StartPlayerAuthServer();
void AddPlayerAuthData(char* authToken, char* uid, char* pdata, size_t pdataSize);
bool AuthenticatePlayer(void* player, int64_t uid, char* authToken);
bool RemovePlayerAuthData(void* player);
@@ -25,4 +27,5 @@ public:
void InitialiseServerAuthentication(HMODULE baseAddress);
-extern ServerAuthenticationManager* g_ServerAuthenticationManager; \ No newline at end of file
+extern ServerAuthenticationManager* g_ServerAuthenticationManager;
+extern ConVar* Cvar_ns_player_auth_port; \ No newline at end of file