From f9c04fdde328297b9a802fcd3d51476c3d70acf7 Mon Sep 17 00:00:00 2001 From: unagi <108255608+zqunagi@users.noreply.github.com> Date: Tue, 29 Sep 2026 20:42:29 +0800 Subject: [PATCH] Update ISource2ServerConfig (#430) Co-authored-by: GAMMACASE <31375974+GAMMACASE@users.noreply.github.com> --- public/eiface.h | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/public/eiface.h b/public/eiface.h index 84f36c7e..f5343e64 100644 --- a/public/eiface.h +++ b/public/eiface.h @@ -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"