mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 04:26:03 +08:00
Update PVKII SDK with last game update (#293)
* Update INTERFACEVERSION_SERVERGAMEDLL_VERSION to 10 * Added missing virtual function
This commit is contained in:
@ -456,15 +456,11 @@ public:
|
|||||||
typedef IVEngineServer IVEngineServer021;
|
typedef IVEngineServer IVEngineServer021;
|
||||||
typedef IVEngineServer IVEngineServer022;
|
typedef IVEngineServer IVEngineServer022;
|
||||||
|
|
||||||
// AlliedModders - Shim until all supported mods are using the SDK Base that has this
|
|
||||||
#if 0
|
|
||||||
#define INTERFACEVERSION_SERVERGAMEDLL_VERSION_8 "ServerGameDLL008"
|
#define INTERFACEVERSION_SERVERGAMEDLL_VERSION_8 "ServerGameDLL008"
|
||||||
#define INTERFACEVERSION_SERVERGAMEDLL_VERSION_9 "ServerGameDLL009"
|
#define INTERFACEVERSION_SERVERGAMEDLL_VERSION_9 "ServerGameDLL009"
|
||||||
#define INTERFACEVERSION_SERVERGAMEDLL "ServerGameDLL010"
|
#define INTERFACEVERSION_SERVERGAMEDLL "ServerGameDLL010"
|
||||||
#define INTERFACEVERSION_SERVERGAMEDLL_INT 10
|
#define INTERFACEVERSION_SERVERGAMEDLL_INT 10
|
||||||
#else
|
|
||||||
#define INTERFACEVERSION_SERVERGAMEDLL "ServerGameDLL009"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class IServerGCLobby;
|
class IServerGCLobby;
|
||||||
|
|
||||||
@ -596,8 +592,6 @@ public:
|
|||||||
// Called to add output to the status command
|
// Called to add output to the status command
|
||||||
virtual void Status( void (*print) (const char *fmt, ...) ) = 0;
|
virtual void Status( void (*print) (const char *fmt, ...) ) = 0;
|
||||||
|
|
||||||
// AlliedModders - Below functions require v10 of the interface.
|
|
||||||
|
|
||||||
// Informs the game we would like to load this level, giving it a chance to prepare dynamic resources.
|
// Informs the game we would like to load this level, giving it a chance to prepare dynamic resources.
|
||||||
//
|
//
|
||||||
// - pszMapName is the name of the map we're looking for, and may be overridden to e.g. the canonical name of the
|
// - pszMapName is the name of the map we're looking for, and may be overridden to e.g. the canonical name of the
|
||||||
|
@ -25,6 +25,7 @@ public:
|
|||||||
|
|
||||||
// Check whether a particular parameter exists
|
// Check whether a particular parameter exists
|
||||||
virtual const char *CheckParm( const char *psz, const char **ppszValue = 0 ) const = 0;
|
virtual const char *CheckParm( const char *psz, const char **ppszValue = 0 ) const = 0;
|
||||||
|
virtual bool HasParm( const char *parm ) const = 0;
|
||||||
virtual void RemoveParm( const char *parm ) = 0;
|
virtual void RemoveParm( const char *parm ) = 0;
|
||||||
virtual void AppendParm( const char *pszParm, const char *pszValues ) = 0;
|
virtual void AppendParm( const char *pszParm, const char *pszValues ) = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user