Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions public/entity2/entityinstance.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class CEntityInstance
virtual void Precache( const CEntityPrecacheContext* pContext ) = 0;
virtual void AddedToEntityDatabase() = 0;
virtual void Spawn( const CEntityKeyValues* pKeyValues ) = 0;
virtual void unk001() = 0;
virtual void PostDataUpdate( /*DataUpdateType_t*/int updateType ) = 0;
virtual void OnDataUnchangedInPVS() = 0;
virtual void Activate( /*ActivateType_t*/int activateType ) = 0;
Expand All @@ -49,12 +50,15 @@ class CEntityInstance
virtual void OnSave() = 0;
virtual void OnRestore() = 0;

virtual void unk001() = 0;
virtual void unk002() = 0;
virtual int ObjectCaps() = 0;
virtual CEntityIndex RequiredEdictIndex() = 0;


virtual void unk003() = 0;
virtual void unk004() = 0;
// marks an entire entity for transmission over the network
virtual void NetworkStateChanged() = 0;
// virtual void NetworkStateChanged() = 0;
virtual void unk005() = 0;

// marks a field for transmission over the network
// nOffset is the flattened field offset
Expand All @@ -65,7 +69,8 @@ class CEntityInstance
// PathIndex is the value to specify
// if the path to the field goes through one or more pointers, otherwise pass -1
// this value is usually a member of the CNetworkVarChainer and belongs to the last object in the chain
virtual void NetworkStateChanged( uint nOffset, int nItem = -1, ChangeAccessorFieldPathIndex_t PathIndex = ChangeAccessorFieldPathIndex_t() ) = 0;
// virtual void NetworkStateChanged( uint nOffset, int nItem = -1, ChangeAccessorFieldPathIndex_t PathIndex = ChangeAccessorFieldPathIndex_t() ) = 0;
virtual void unk006() = 0;

virtual void LogFieldInfo( const char* pszFieldName, const char* pszInfo ) = 0;
virtual bool FullEdictChanged() = 0;
Expand Down