From 1bb3b20395eb8051921c5bbb2a4984c595d66ec7 Mon Sep 17 00:00:00 2001 From: Diavolo Date: Tue, 31 Aug 2021 16:32:57 +0200 Subject: [PATCH] Fix setString --- src/Game/Functions.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Game/Functions.hpp b/src/Game/Functions.hpp index eaf3d6d1..f0945356 100644 --- a/src/Game/Functions.hpp +++ b/src/Game/Functions.hpp @@ -256,6 +256,12 @@ namespace Game typedef dvar_t* (__cdecl * Dvar_SetCommand_t)(const char* name, const char* value); extern Dvar_SetCommand_t Dvar_SetCommand; + typedef void (__cdecl* Free_String_t)(const char* string); + extern Free_String_t Free_String; + + typedef const char* (__cdecl* Copy_String_t)(const char* string); + extern Copy_String_t Copy_String; + typedef bool(__cdecl * Encode_Init_t)(const char* ); extern Encode_Init_t Encode_Init;