1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00

Fix GetTempntList return type and add new servertools interface version.

This commit is contained in:
Nicholas Hastings 2014-06-11 23:33:22 -04:00
parent f3ad499a47
commit fba60b372e

View File

@ -32,6 +32,7 @@ class CBaseAnimating;
class CTakeDamageInfo;
class ITempEntsSystem;
class IEntityFactoryDictionary;
class CBaseTempEntity;
class CGlobalEntityList;
class IEntityFindFilter;
@ -219,8 +220,8 @@ public:
virtual void RadiusDamage( const CTakeDamageInfo &info, const Vector &vecSrc, float flRadius, int iClassIgnore, CBaseEntity *pEntityIgnore ) = 0;
virtual ITempEntsSystem *GetTempEntsSystem( void ) = 0;
virtual void *GetTempEntList( void ) = 0;
virtual CBaseTempEntity *GetTempEntList( void ) = 0;
virtual CGlobalEntityList *GetEntityList( void ) = 0;
virtual bool IsEntityPtr( void *pTest ) = 0;
virtual CBaseEntity *FindEntityByClassname( CBaseEntity *pStartEntity, const char *szName ) = 0;
@ -244,8 +245,9 @@ public:
typedef IServerTools IServerTools001;
#define VSERVERTOOLS_INTERFACE_VERSION_1 "VSERVERTOOLS001"
#define VSERVERTOOLS_INTERFACE_VERSION "VSERVERTOOLS002"
#define VSERVERTOOLS_INTERFACE_VERSION_INT 2
#define VSERVERTOOLS_INTERFACE_VERSION_2 "VSERVERTOOLS002"
#define VSERVERTOOLS_INTERFACE_VERSION "VSERVERTOOLS003"
#define VSERVERTOOLS_INTERFACE_VERSION_INT 3
//-----------------------------------------------------------------------------
// Purpose: Client side tool interace (right now just handles IClientRenderables).