diff options
author | Northstar <northstar@northstar.tf> | 2023-12-20 15:20:02 +0100 |
---|---|---|
committer | Northstar <northstar@northstar.tf> | 2023-12-20 15:20:02 +0100 |
commit | 1e5c4a7f6a734352f802c82b293fe3b215e3a5b2 (patch) | |
tree | b1a5484f3839e1b0c2a9169856a51c16cf255180 /NorthstarDLL/server/auth | |
parent | 714282b52039b12225c8348ef7346d092676ffb1 (diff) | |
download | NorthstarLauncher-1e5c4a7f6a734352f802c82b293fe3b215e3a5b2.tar.gz NorthstarLauncher-1e5c4a7f6a734352f802c82b293fe3b215e3a5b2.zip |
Format project
Diffstat (limited to 'NorthstarDLL/server/auth')
-rw-r--r-- | NorthstarDLL/server/auth/bansystem.h | 4 | ||||
-rw-r--r-- | NorthstarDLL/server/auth/serverauthentication.h | 4 |
2 files changed, 4 insertions, 4 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); |