aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/masterserver.h
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-10-11 23:35:40 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-10-11 23:35:40 +0100
commitc5cf48bba33159fc268904688f29ed20c14b11b3 (patch)
tree88aa6d01bf204f93ece63e50d3f1b9b4ca263094 /NorthstarDedicatedTest/masterserver.h
parentcb386ef4857f5a0f13998d1813cfa7d57a00af7d (diff)
downloadNorthstarLauncher-c5cf48bba33159fc268904688f29ed20c14b11b3.tar.gz
NorthstarLauncher-c5cf48bba33159fc268904688f29ed20c14b11b3.zip
add server script early persistence writes
Diffstat (limited to 'NorthstarDedicatedTest/masterserver.h')
-rw-r--r--NorthstarDedicatedTest/masterserver.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/masterserver.h b/NorthstarDedicatedTest/masterserver.h
index d7dcf485..67f9a96f 100644
--- a/NorthstarDedicatedTest/masterserver.h
+++ b/NorthstarDedicatedTest/masterserver.h
@@ -2,6 +2,13 @@
#include "convar.h"
#include <WinSock2.h>
+struct RemoteServerModInfo
+{
+public:
+ std::string modName;
+ std::string modServer;
+};
+
class RemoteServerInfo
{
public:
@@ -12,6 +19,7 @@ public:
std::string description;
char map[32];
char playlist[16];
+ std::vector<RemoteServerModInfo> requiredMods;
int playerCount;
int maxPlayers;
@@ -37,12 +45,12 @@ class MasterServerManager
private:
bool m_requestingServerList = false;
bool m_authenticatingWithGameServer = false;
- bool m_savingPersistentData = false;
public:
char m_ownServerId[33];
bool m_bRequireClientAuth = false;
+ bool m_savingPersistentData = false;
bool m_scriptRequestingServerList = false;
bool m_successfullyConnected = true;