mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-06 18:18:23 +00:00
Update ISource2GameEntities
This commit is contained in:
parent
1a21ada9be
commit
7d74dffa8e
@ -484,10 +484,10 @@ public:
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// Purpose: Interface to get at server entities
|
// Purpose: Interface to get at server entities
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
abstract_class ISource2GameEntities : public IAppSystem
|
abstract_class ISource2GameEntities : public IAppSystem //, public IEntityListener
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~ISource2GameEntities() {}
|
virtual Reset( bool bDestroyAndDelete = false ) = 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.
|
||||||
@ -501,14 +501,11 @@ 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"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user