From 2e859c5e043df59e37637bf919e9f5faeb42ee4c Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Fri, 25 Sep 2015 18:42:54 -0400 Subject: [PATCH] More tweaks (ICommandLine and IVEngineServer2). --- public/eiface.h | 4 ++-- public/tier0/icommandline.h | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/eiface.h b/public/eiface.h index d326c31e..5a7f66fd 100644 --- a/public/eiface.h +++ b/public/eiface.h @@ -341,7 +341,7 @@ public: virtual SpawnGroupHandle_t FindSpawnGroupByName( const char *szName ) = 0; // Returns the SteamID of the game server - virtual const CSteamID *GetGameServerSteamID() = 0; + virtual CSteamID GetGameServerSteamID() = 0; virtual int GetBuildVersion( void ) const = 0; @@ -444,7 +444,7 @@ public: // Called after the steam API has been activated post-level startup virtual void GameServerSteamAPIActivated( void ) = 0; - virtual void GameServerSteamAPIShutdown( void ) = 0; + virtual void GameServerSteamAPIDeactivated( void ) = 0; virtual void OnHostNameChanged( const char *pszNewHostname ) = 0; virtual void PreFatalShutdown( void ) const = 0; diff --git a/public/tier0/icommandline.h b/public/tier0/icommandline.h index 534282a7..a4f0098f 100644 --- a/public/tier0/icommandline.h +++ b/public/tier0/icommandline.h @@ -40,12 +40,12 @@ public: virtual float ParmValue( const char *psz, float flDefaultVal ) const = 0; virtual bool ParmValue( const char *psz, const char *pDefaultVal, char *pszOut, unsigned int size ) = 0; - // copies the string passwed - virtual void SetParm( int nIndex, char const *pNewParm ) =0; - - virtual void RemoveParmByIndex( int nIndex ) = 0; + virtual const char *ParmValueByIndex( int nIndex, const char *pDefaultVal ) const = 0; + virtual void CreateCmdLinePrependAppName( const char *commandline ) = 0; virtual const char **GetParms() const = 0; + + virtual bool IsWellInitialized( void ) const = 0; }; //-----------------------------------------------------------------------------