Skip to content

Commit

Permalink
CEntityKeyValues: make public access to SetKeyValue & SetString
Browse files Browse the repository at this point in the history
… methods
  • Loading branch information
Wend4r committed Jan 20, 2025
1 parent 7ff56a0 commit 6f54599
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions public/entity2/entitykeyvalues.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,13 @@ class CEntityKeyValues

CEntityKeyValues& operator=( const CEntityKeyValues& src ) { CopyFrom( &src ); return *this; }

private:
CEntityKeyValues( const CEntityKeyValues& other );

// Use public setters for all available types instead
public:
KeyValues3* SetKeyValue( const EntityKeyId_t &id, const char* pAttributeName = NULL );
void SetString( KeyValues3* kv, const char* string );

private:
CEntityKeyValues( const CEntityKeyValues& other );

void ReleaseAllComplexKeys();
void ValidateAllocator();

Expand Down

0 comments on commit 6f54599

Please sign in to comment.