mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 12:36:05 +08:00
More tweaks (ICommandLine and IVEngineServer2).
This commit is contained in:
@ -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;
|
||||
|
@ -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 const char *ParmValueByIndex( int nIndex, const char *pDefaultVal ) const = 0;
|
||||
|
||||
virtual void RemoveParmByIndex( int nIndex ) = 0;
|
||||
virtual void CreateCmdLinePrependAppName( const char *commandline ) = 0;
|
||||
virtual const char **GetParms() const = 0;
|
||||
|
||||
virtual bool IsWellInitialized( void ) const = 0;
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user