aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/server/serverpresence.h
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/server/serverpresence.h')
-rw-r--r--NorthstarDLL/server/serverpresence.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/NorthstarDLL/server/serverpresence.h b/NorthstarDLL/server/serverpresence.h
index 3aabecde..6b8c2859 100644
--- a/NorthstarDLL/server/serverpresence.h
+++ b/NorthstarDLL/server/serverpresence.h
@@ -3,11 +3,8 @@
struct ServerPresence
{
- public:
int m_iPort;
- std::string m_sServerId;
-
std::string m_sServerName;
std::string m_sServerDesc;
char m_Password[256]; // probably bigger than will ever be used in practice, lol
@@ -28,8 +25,6 @@ struct ServerPresence
{
m_iPort = obj->m_iPort;
- m_sServerId = obj->m_sServerId;
-
m_sServerName = obj->m_sServerName;
m_sServerDesc = obj->m_sServerDesc;
memcpy(m_Password, obj->m_Password, sizeof(m_Password));
@@ -72,9 +67,9 @@ class ServerPresenceManager
ConVar* Cvar_ns_report_sp_server_to_masterserver;
public:
- void AddPresenceReporter(ServerPresenceReporter* reporter);
+ ServerPresenceManager();
- void CreateConVars();
+ void AddPresenceReporter(ServerPresenceReporter* reporter);
void CreatePresence();
void DestroyPresence();