mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 03:56:10 +08:00
Update ISource2GameEntities (#335)
This commit is contained in:
@ -487,7 +487,7 @@ public:
|
|||||||
abstract_class ISource2GameEntities : public IAppSystem
|
abstract_class ISource2GameEntities : public IAppSystem
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~ISource2GameEntities() {}
|
virtual ~ISource2GameEntities() = 0;
|
||||||
|
|
||||||
// This sets a bit in pInfo for each edict in the list that wants to be transmitted to the
|
// This sets a bit in pInfo for each edict in the list that wants to be transmitted to the
|
||||||
// client specified in pInfo.
|
// client specified in pInfo.
|
||||||
@ -500,15 +500,12 @@ public:
|
|||||||
|
|
||||||
// TERROR: Perform any PVS cleanup before a full update
|
// TERROR: Perform any PVS cleanup before a full update
|
||||||
virtual void PrepareForFullUpdate( CEntityIndex nPlayerEntityIndex ) = 0;
|
virtual void PrepareForFullUpdate( CEntityIndex nPlayerEntityIndex ) = 0;
|
||||||
|
|
||||||
// Frees the entity attached to this edict
|
|
||||||
virtual void FreeContainingEntity( CEntityIndex nEntityIndex ) = 0;
|
|
||||||
|
|
||||||
virtual bool GetWorldspaceCenter( CEntityIndex nEntityIndex, Vector *pCenter ) const = 0;
|
|
||||||
|
|
||||||
virtual bool ShouldClientReceiveStringTableUserData( const INetworkStringTable *pTable, int stringNumber, const CCheckTransmitInfo *pInfo ) = 0;
|
virtual bool ShouldClientReceiveStringTableUserData( const INetworkStringTable *pTable, int stringNumber, const CCheckTransmitInfo *pInfo ) = 0;
|
||||||
|
|
||||||
virtual void ResetChangeAccessorsSerialNumbersToZero() = 0;
|
virtual void ResetChangeAccessorsSerialNumbersToZero() = 0;
|
||||||
|
|
||||||
|
virtual bool GetWorldspaceCenter( CEntityIndex nEntityIndex, Vector *pCenter ) const = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define INTERFACEVERSION_SERVERCONFIG "Source2ServerConfig001"
|
#define INTERFACEVERSION_SERVERCONFIG "Source2ServerConfig001"
|
||||||
|
Reference in New Issue
Block a user