1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 03:56:10 +08:00

Update CGameEntitySystem & EventQueuePrioritizedEvent_t

This commit is contained in:
GAMMACASE
2025-08-03 21:00:36 +03:00
parent 276aad9531
commit bfe3405ce6
2 changed files with 5 additions and 2 deletions

View File

@ -123,6 +123,10 @@ struct EventQueuePrioritizedEvent_t
variant_t m_VariantValue; // variable-type parameter
void *m_unk101;
KeyValues3 m_KV3;
KeyValues3::Data_t m_KV3Data;
EventQueuePrioritizedEvent_t *m_pNext;
EventQueuePrioritizedEvent_t *m_pPrev;
};
@ -365,7 +369,6 @@ public:
void RemoveListenerEntity(IEntityListener* pListener);
public:
int m_iMaxNetworkedEntIndex;
int m_iNetworkedEntCount;
int m_iNonNetworkedSavedEntCount;
CUtlDict<SpawnGroupEntityFilterInfo_t> m_spawnGroupEntityFilters;

View File

@ -572,7 +572,6 @@ public:
KeyValues3& operator=( const KeyValues3& src );
KeyValues3( const KeyValues3 &other ) : KeyValues3() { CopyFrom( &other ); }
private:
union Data_t
{
Data_t() : m_nMemory(0)
@ -613,6 +612,7 @@ private:
char m_Memory[1];
};
private:
void Alloc( int initial_size = 0, Data_t data = {}, int bytes_available = 0, bool should_free = false );
CKeyValues3Array *AllocArray( int initial_size = 0 );