Change template parameter in squirrel structure

Should be 'ScriptDataType_t'; this structure is pending a refactor.
This commit is contained in:
Kawe Mazidjatari 2023-05-01 23:44:51 +02:00
parent 016e6c35fe
commit 2cdc6b0962
2 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,7 @@ struct ScriptFunctionBinding_t
const SQChar* _codehook; // 30
SQInteger unk38; // 38
SQInteger _nparamscheck; // 3C
CUtlVector<SQChar> _vector;// Unknown, see 'r5apex.exe+105835B'
CUtlVector<ScriptDataType_t> _vector;// 'm_pFunction' in original code; pending refactor.
const void* _functor; // 60
void Init(

View File

@ -23,6 +23,8 @@ typedef void* SQFunctor;
typedef SQUnsignedInteger SQBool;
typedef SQInteger SQRESULT;
typedef int ScriptDataType_t;
enum class SQCONTEXT : SQInteger
{
SERVER = 0,