[Script] Add replaceFun

This commit is contained in:
FutureRave
2021-11-13 13:15:27 +00:00
parent 3cbe6e820c
commit 8cd3f2cad4
4 changed files with 105 additions and 3 deletions

View File

@ -660,7 +660,7 @@ namespace Game
typedef unsigned int(__cdecl * Scr_GetObject_t)(int);
extern Scr_GetObject_t Scr_GetObject;
typedef int(__cdecl * Scr_GetNumParam_t)();
typedef unsigned int(__cdecl * Scr_GetNumParam_t)();
extern Scr_GetNumParam_t Scr_GetNumParam;
typedef int(__cdecl * Scr_GetFunctionHandle_t)(const char*, const char*);
@ -687,7 +687,7 @@ namespace Game
typedef bool(__cdecl * Scr_IsSystemActive_t)();
extern Scr_IsSystemActive_t Scr_IsSystemActive;
typedef int(__cdecl* Scr_GetType_t)(int);
typedef int(__cdecl* Scr_GetType_t)(unsigned int);
extern Scr_GetType_t Scr_GetType;
typedef void(__cdecl* Scr_Error_t)(const char*);

View File

@ -4886,7 +4886,7 @@ namespace Game
struct VariableValue
{
VariableUnion u;
int type;
VariableType type;
};
struct ScriptContainer