Update IVEngineServer and IServerGameDLL.

This commit is contained in:
Nick Hastings 2021-11-15 17:35:03 -05:00
parent caee95ac9a
commit cbab58f4da

View File

@ -1,4 +1,4 @@
//===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======// //===== Copyright <EFBFBD> 1996-2005, Valve Corporation, All rights reserved. ======//
// //
// Purpose: // Purpose:
// //
@ -149,6 +149,8 @@ public:
// Remove the specified edict and place back into the free edict list // Remove the specified edict and place back into the free edict list
virtual void RemoveEdict( edict_t *e ) = 0; virtual void RemoveEdict( edict_t *e ) = 0;
virtual bool CanAllocateNewEdict() = 0;
// Memory allocation for entity class data // Memory allocation for entity class data
virtual void *PvAllocEntPrivateData( long cb ) = 0; virtual void *PvAllocEntPrivateData( long cb ) = 0;
virtual void FreeEntPrivateData( void *pEntity ) = 0; virtual void FreeEntPrivateData( void *pEntity ) = 0;
@ -440,6 +442,9 @@ public:
// Returns the XUID of the specified player. It'll be NULL if the player hasn't connected yet. // Returns the XUID of the specified player. It'll be NULL if the player hasn't connected yet.
virtual uint64 GetClientXUID( edict_t *pPlayerEdict ) = 0; virtual uint64 GetClientXUID( edict_t *pPlayerEdict ) = 0;
virtual void SetServerUsesAngelScriptMods( bool bValue ) = 0;
virtual bool GetServerUsesAngelScriptMods() = 0;
}; };
#define INTERFACEVERSION_SERVERGAMEDLL "ServerGameDLL005" #define INTERFACEVERSION_SERVERGAMEDLL "ServerGameDLL005"
@ -561,6 +566,8 @@ public:
virtual void GenerateLumpFileName( const char *, char *, int, int ) = 0; virtual void GenerateLumpFileName( const char *, char *, int, int ) = 0;
virtual void GetMatchmakingGameData( char *buf, size_t bufSize ) = 0; virtual void GetMatchmakingGameData( char *buf, size_t bufSize ) = 0;
virtual void InitializeWorkshop();
}; };
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------