aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/server
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/server')
-rw-r--r--NorthstarDLL/server/auth/bansystem.h4
-rw-r--r--NorthstarDLL/server/auth/serverauthentication.h4
-rw-r--r--NorthstarDLL/server/serverpresence.h8
3 files changed, 8 insertions, 8 deletions
diff --git a/NorthstarDLL/server/auth/bansystem.h b/NorthstarDLL/server/auth/bansystem.h
index 6f180126..d6ac5a4f 100644
--- a/NorthstarDLL/server/auth/bansystem.h
+++ b/NorthstarDLL/server/auth/bansystem.h
@@ -3,11 +3,11 @@
class ServerBanSystem
{
- private:
+private:
std::ofstream m_sBanlistStream;
std::vector<uint64_t> m_vBannedUids;
- public:
+public:
void OpenBanlist();
void ReloadBanlist();
void ClearBanlist();
diff --git a/NorthstarDLL/server/auth/serverauthentication.h b/NorthstarDLL/server/auth/serverauthentication.h
index 32e1d0a8..996d20e1 100644
--- a/NorthstarDLL/server/auth/serverauthentication.h
+++ b/NorthstarDLL/server/auth/serverauthentication.h
@@ -26,7 +26,7 @@ extern CBaseServer__RejectConnectionType CBaseServer__RejectConnection;
class ServerAuthenticationManager
{
- public:
+public:
ConVar* Cvar_ns_erase_auth_info;
ConVar* Cvar_ns_auth_allow_insecure;
ConVar* Cvar_ns_auth_allow_insecure_write;
@@ -40,7 +40,7 @@ class ServerAuthenticationManager
bool m_bForceResetLocalPlayerPersistence = false;
bool m_bStartingLocalSPGame = false;
- public:
+public:
void AddRemotePlayer(std::string token, uint64_t uid, std::string username, std::string pdata);
void AddPlayer(CBaseClient* pPlayer, const char* pAuthToken);
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();