Update ISource2GameEntities

This commit is contained in:
number201724 2025-09-08 20:40:01 +08:00
parent 1a21ada9be
commit 7d74dffa8e
No known key found for this signature in database

View File

@ -484,10 +484,10 @@ public:
//-----------------------------------------------------------------------------
// Purpose: Interface to get at server entities
//-----------------------------------------------------------------------------
abstract_class ISource2GameEntities : public IAppSystem
abstract_class ISource2GameEntities : public IAppSystem //, public IEntityListener
{
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
// client specified in pInfo.
@ -500,15 +500,12 @@ public:
// TERROR: Perform any PVS cleanup before a full update
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 void ResetChangeAccessorsSerialNumbersToZero() = 0;
virtual bool GetWorldspaceCenter( CEntityIndex nEntityIndex, Vector *pCenter ) const = 0;
};
#define INTERFACEVERSION_SERVERCONFIG "Source2ServerConfig001"