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

Update KeyValues3Context & its allocation lifecycle (#289)

Co-authored-by: GAMMACASE <31375974+GAMMACASE@users.noreply.github.com>
Co-authored-by: Nyano <dison2233@126.com>
This commit is contained in:
Vladimir
2025-01-01 22:36:06 +03:00
committed by GitHub
parent 769c1ef1b7
commit f3b44f206d
4 changed files with 1535 additions and 888 deletions

View File

@ -115,9 +115,6 @@ public:
void RemoveAllKeys();
bool IsEmpty() const;
bool ValuesHasBadNames() const;
bool AttributesHasBadNames() const;
bool HasValue( const EntityKeyId_t &id ) const { bool bIsAttribute; return ( GetKeyValue( id, &bIsAttribute ) && !bIsAttribute ); }
bool HasAttribute( const EntityKeyId_t &id ) const { bool bIsAttribute; return ( GetKeyValue( id, &bIsAttribute ) && bIsAttribute ); }