From 806f2514db7dec9c9de35e38b506f88141fb4c8c Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sun, 27 Nov 2022 21:57:17 +0100 Subject: [PATCH] Add new method to IKeyValuesSystem class This is a new virtual method introduced in Respawn's engine. --- r5dev/public/ikeyvaluessystem.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/r5dev/public/ikeyvaluessystem.h b/r5dev/public/ikeyvaluessystem.h index 47d18a03..5aa36634 100644 --- a/r5dev/public/ikeyvaluessystem.h +++ b/r5dev/public/ikeyvaluessystem.h @@ -40,6 +40,8 @@ public: virtual void AddKeyValuesToMemoryLeakList( void *pMem, HKeySymbol name ) = 0; virtual void RemoveKeyValuesFromMemoryLeakList( void *pMem ) = 0; + // Returns the globally allocated keyvalues memory pool. + virtual void *GetKeyValuesMemory( void ) = 0 // set/get a value for keyvalues resolution symbol // e.g.: SetKeyValuesExpressionSymbol( "LOWVIOLENCE", true ) - enables [$LOWVIOLENCE] virtual void SetKeyValuesExpressionSymbol( const char *name, bool bValue ) = 0;