diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-08-13 20:02:28 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-08-13 20:02:28 +0100 |
commit | f425377e5b15dc97ce8caa484b3e282ec5df529c (patch) | |
tree | c3d9a27cb8be758839a90ca85b045144f39b8616 /NorthstarDedicatedTest/masterserver.h | |
parent | 9a3e1ec2daf753106ee95d53719d94921d3b051f (diff) | |
download | NorthstarLauncher-f425377e5b15dc97ce8caa484b3e282ec5df529c.tar.gz NorthstarLauncher-f425377e5b15dc97ce8caa484b3e282ec5df529c.zip |
add local http server for auth
Diffstat (limited to 'NorthstarDedicatedTest/masterserver.h')
-rw-r--r-- | NorthstarDedicatedTest/masterserver.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/NorthstarDedicatedTest/masterserver.h b/NorthstarDedicatedTest/masterserver.h index 9b8e8a89..17c77a02 100644 --- a/NorthstarDedicatedTest/masterserver.h +++ b/NorthstarDedicatedTest/masterserver.h @@ -55,13 +55,15 @@ public: public: void ClearServerList(); void RequestServerList(); - void AuthenticateWithServer(char* serverId, char* password); - void AddSelfToServerList(int port, char* name, char* description, char* map, char* playlist, int maxPlayers, char* password); + 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); void UpdateServerMapAndPlaylist(char* map, char* playlist); void UpdateServerPlayerCount(int playerCount); + void WritePlayerPersistentData(char* playerId, char* pdata); void RemoveSelfFromServerList(); }; void InitialiseSharedMasterServer(HMODULE baseAddress); -extern MasterServerManager* g_MasterServerManager;
\ No newline at end of file +extern MasterServerManager* g_MasterServerManager; +extern ConVar* Cvar_ns_masterserver_hostname;
\ No newline at end of file |