1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 03:56:10 +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:
PlayBoy31
2025-01-11 19:39:12 +01:00
committed by GitHub
parent c0fbb0d1d4
commit adad62fe44
2 changed files with 2 additions and 7 deletions

View File

@ -456,15 +456,11 @@ public:
typedef IVEngineServer IVEngineServer021;
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_9 "ServerGameDLL009"
#define INTERFACEVERSION_SERVERGAMEDLL "ServerGameDLL010"
#define INTERFACEVERSION_SERVERGAMEDLL_INT 10
#else
#define INTERFACEVERSION_SERVERGAMEDLL "ServerGameDLL009"
#endif
class IServerGCLobby;
@ -595,8 +591,6 @@ public:
// Called to add output to the status command
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.
//

View File

@ -25,6 +25,7 @@ public:
// Check whether a particular parameter exists
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 AppendParm( const char *pszParm, const char *pszValues ) = 0;