Update ISource2ServerConfig (#430)

Co-authored-by: GAMMACASE <[email protected]>
This commit is contained in:
unagiandGAMMACASE authored and GitHub committed 2026-09-29 15:42:29 +03:00
1 parent f24de742d4
commit f9c04fdde3
1 file changed
+15 -11
+15 -11
View File
@@ -526,24 +526,18 @@ public:
virtual int GetNetworkVersion( void ) = 0;
// Get the simulation interval (must be compiled with identical values into both client and game .dll for MOD!!!)
// Right now this is only requested at server startup time so it can't be changed on the fly, etc.
virtual float GetTickInterval( void ) const = 0;
// Get server maxplayers and lower bound for same
virtual void GetPlayerLimits( int& minplayers, int& maxplayers, int &defaultMaxPlayers, bool &bIsMultiplayer ) const = 0;
virtual void GetPlayerLimits( int& minplayers, int& maxplayers, int &defaultMaxPlayers, bool &bIsMultiplayer ) const = 0;
// Returns max splitscreen slot count ( 1 == no splits, 2 for 2-player split screen )
virtual int GetMaxSplitscreenPlayers( void ) = 0;
virtual int GetMaxSplitscreenPlayers( void ) = 0;
// Return # of human slots, -1 if can't determine or don't care (engine will assume it's == maxplayers )
virtual int GetMaxHumanPlayers() = 0;
virtual int GetMaxHumanPlayers() = 0;
virtual bool ShouldNotifyLocalClientConnectionStateChanges() = 0;
virtual bool ShouldNotifyLocalClientConnectionStateChanges() = 0;
virtual bool AllowPlayerToTakeOverBots() = 0;
virtual void OnClientFullyConnect( CEntityIndex nEntityIndex ) = 0;
virtual void OnClientFullyConnect( CEntityIndex nEntityIndex ) = 0;
virtual void GetHostStateLoopModeInfo( HostStateLoopModeType_t type, CUtlString &loopModeName, KeyValues **ppLoopModeOptions ) = 0;
@@ -552,6 +546,16 @@ public:
virtual void GetConVarPrefixesToResetToDefaults( CUtlString &sSemicolonDelimitedPrefixList ) const = 0;
virtual bool AllowSaveRestore() = 0;
virtual bool unk101() = 0;
virtual bool IsCommandQueueEnabled() = 0;
virtual float GetCommandQueueDilationPercentage() = 0;
virtual bool unk201() = 0;
virtual bool unk202() = 0;
virtual bool unk203() = 0;
virtual bool unk204() = 0;
};
#define INTERFACEVERSION_SERVERGAMECLIENTS "Source2GameClients001"