aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/serverauthentication.h
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-08-09 22:21:46 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-08-09 22:21:46 +0100
commit9a3e1ec2daf753106ee95d53719d94921d3b051f (patch)
tree954d8b75530d66c15fcfcf153a3a4f351e49ef8e /NorthstarDedicatedTest/serverauthentication.h
parent4d0e4679d05b146e5e43a1a707708c6451099c54 (diff)
downloadNorthstarLauncher-9a3e1ec2daf753106ee95d53719d94921d3b051f.tar.gz
NorthstarLauncher-9a3e1ec2daf753106ee95d53719d94921d3b051f.zip
add mod localisation, say command and more masterserver stuff
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