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/shared | |
parent | 714282b52039b12225c8348ef7346d092676ffb1 (diff) | |
download | NorthstarLauncher-1e5c4a7f6a734352f802c82b293fe3b215e3a5b2.tar.gz NorthstarLauncher-1e5c4a7f6a734352f802c82b293fe3b215e3a5b2.zip |
Format project
Diffstat (limited to 'NorthstarDLL/shared')
-rw-r--r-- | NorthstarDLL/shared/exploit_fixes/ns_limits.h | 4 | ||||
-rw-r--r-- | NorthstarDLL/shared/keyvalues.cpp | 2 | ||||
-rw-r--r-- | NorthstarDLL/shared/keyvalues.h | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/NorthstarDLL/shared/exploit_fixes/ns_limits.h b/NorthstarDLL/shared/exploit_fixes/ns_limits.h index a2cc431f..546fec6f 100644 --- a/NorthstarDLL/shared/exploit_fixes/ns_limits.h +++ b/NorthstarDLL/shared/exploit_fixes/ns_limits.h @@ -27,7 +27,7 @@ struct UnconnectedPlayerLimitData class ServerLimitsManager { - public: +public: ConVar* CVar_sv_quota_stringcmdspersecond; ConVar* Cvar_net_chan_limit_mode; ConVar* Cvar_net_chan_limit_msec_per_sec; @@ -40,7 +40,7 @@ class ServerLimitsManager std::unordered_map<CBaseClient*, PlayerLimitData> m_PlayerLimitData; std::vector<UnconnectedPlayerLimitData> m_UnconnectedPlayerLimitData; - public: +public: void RunFrame(double flCurrentTime, float flFrameTime); void AddPlayer(CBaseClient* player); void RemovePlayer(CBaseClient* player); diff --git a/NorthstarDLL/shared/keyvalues.cpp b/NorthstarDLL/shared/keyvalues.cpp index aa22ca65..88753723 100644 --- a/NorthstarDLL/shared/keyvalues.cpp +++ b/NorthstarDLL/shared/keyvalues.cpp @@ -17,7 +17,7 @@ typedef int HKeySymbol; struct CKeyValuesSystem { - public: +public: struct __VTable { char pad0[8 * 3]; // 2 methods diff --git a/NorthstarDLL/shared/keyvalues.h b/NorthstarDLL/shared/keyvalues.h index 64ca0cc7..bd62797e 100644 --- a/NorthstarDLL/shared/keyvalues.h +++ b/NorthstarDLL/shared/keyvalues.h @@ -48,10 +48,10 @@ enum MergeKeyValuesOp_t //----------------------------------------------------------------------------- class KeyValues { - private: +private: KeyValues(); // for internal use only - public: +public: // Constructors/destructors KeyValues(const char* pszSetName); KeyValues(const char* pszSetName, const char* pszFirstKey, const char* pszFirstValue); @@ -112,7 +112,7 @@ class KeyValues void CopySubkeys(KeyValues* pParent) const; KeyValues* MakeCopy(void) const; - public: +public: uint32_t m_iKeyName : 24; // 0x0000 uint32_t m_iKeyNameCaseSensitive1 : 8; // 0x0003 char* m_sValue; // 0x0008 |