aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/masterserver.h
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-11-07 22:06:19 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-11-07 22:06:19 +0000
commitae09e612ea33cb105a47996c4ae3bf8651119042 (patch)
tree91c46140555d3a85c0e6bceb1da3d1c031ae40be /NorthstarDedicatedTest/masterserver.h
parent916f4f53ad839d6f8e565e50bb310429a3e115f3 (diff)
downloadNorthstarLauncher-ae09e612ea33cb105a47996c4ae3bf8651119042.tar.gz
NorthstarLauncher-ae09e612ea33cb105a47996c4ae3bf8651119042.zip
beginning work on new auth
Diffstat (limited to 'NorthstarDedicatedTest/masterserver.h')
-rw-r--r--NorthstarDedicatedTest/masterserver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/masterserver.h b/NorthstarDedicatedTest/masterserver.h
index d1033336..911555d1 100644
--- a/NorthstarDedicatedTest/masterserver.h
+++ b/NorthstarDedicatedTest/masterserver.h
@@ -49,6 +49,9 @@ private:
public:
char m_ownServerId[33];
+ bool m_bOriginAuthWithMasterServerDone = false;
+ bool m_bOriginAuthWithMasterServerInProgress = false;
+
bool m_bRequireClientAuth = false;
bool m_savingPersistentData = false;
@@ -67,6 +70,7 @@ public:
public:
void ClearServerList();
void RequestServerList();
+ void AuthenticateOriginWithMasterServer(char* uid, char* originToken);
void AuthenticateWithOwnServer(char* uid, char* playerToken);
void AuthenticateWithServer(char* uid, char* playerToken, char* serverId, char* password);
void AddSelfToServerList(int port, int authPort, char* name, char* description, char* map, char* playlist, int maxPlayers, char* password);