aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/server/serverpresence.h
diff options
context:
space:
mode:
authorNorthstar <northstar@northstar.tf>2023-12-20 15:20:02 +0100
committerNorthstar <northstar@northstar.tf>2023-12-20 15:20:02 +0100
commit1e5c4a7f6a734352f802c82b293fe3b215e3a5b2 (patch)
treeb1a5484f3839e1b0c2a9169856a51c16cf255180 /NorthstarDLL/server/serverpresence.h
parent714282b52039b12225c8348ef7346d092676ffb1 (diff)
downloadNorthstarLauncher-1e5c4a7f6a734352f802c82b293fe3b215e3a5b2.tar.gz
NorthstarLauncher-1e5c4a7f6a734352f802c82b293fe3b215e3a5b2.zip
Format project
Diffstat (limited to 'NorthstarDLL/server/serverpresence.h')
-rw-r--r--NorthstarDLL/server/serverpresence.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/NorthstarDLL/server/serverpresence.h b/NorthstarDLL/server/serverpresence.h
index 3aabecde..c644cc37 100644
--- a/NorthstarDLL/server/serverpresence.h
+++ b/NorthstarDLL/server/serverpresence.h
@@ -3,7 +3,7 @@
struct ServerPresence
{
- public:
+public:
int m_iPort;
std::string m_sServerId;
@@ -44,7 +44,7 @@ struct ServerPresence
class ServerPresenceReporter
{
- public:
+public:
virtual void CreatePresence(const ServerPresence* pServerPresence) {}
virtual void ReportPresence(const ServerPresence* pServerPresence) {}
virtual void DestroyPresence(const ServerPresence* pServerPresence) {}
@@ -53,7 +53,7 @@ class ServerPresenceReporter
class ServerPresenceManager
{
- private:
+private:
ServerPresence m_ServerPresence;
bool m_bHasPresence = false;
@@ -71,7 +71,7 @@ class ServerPresenceManager
ConVar* Cvar_ns_report_server_to_masterserver;
ConVar* Cvar_ns_report_sp_server_to_masterserver;
- public:
+public:
void AddPresenceReporter(ServerPresenceReporter* reporter);
void CreateConVars();