diff options
author | EladNLG <e1lad8955@gmail.com> | 2024-07-30 01:52:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-30 00:52:15 +0200 |
commit | 51991cc45f8557dbeedbf6de176285e51a77676f (patch) | |
tree | 0534d8ce3e788a0b87c7e64958284cff40b82e77 /primedev/squirrel/squirrelclasstypes.h | |
parent | 65516328610c136db00b644d06bdcf98912ddf70 (diff) | |
download | NorthstarLauncher-51991cc45f8557dbeedbf6de176285e51a77676f.tar.gz NorthstarLauncher-51991cc45f8557dbeedbf6de176285e51a77676f.zip |
Add CreateScriptInstance (#692)v1.27.1-rc1v1.27.1v1.27.0-rc1v1.27.0
Adds a function that converts entities to SQObjects to the SquirrelManagers.
Diffstat (limited to 'primedev/squirrel/squirrelclasstypes.h')
-rw-r--r-- | primedev/squirrel/squirrelclasstypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/primedev/squirrel/squirrelclasstypes.h b/primedev/squirrel/squirrelclasstypes.h index 91c3c468..3a39c957 100644 --- a/primedev/squirrel/squirrelclasstypes.h +++ b/primedev/squirrel/squirrelclasstypes.h @@ -227,6 +227,7 @@ typedef SQRESULT (*sq_setuserdatatypeidType)(HSquirrelVM* sqvm, SQInteger iStack // sq misc entity funcs typedef void* (*sq_getentityfrominstanceType)(CSquirrelVM* sqvm, SQObject* pInstance, char** ppEntityConstant); +typedef SQObject* (*sq_createscriptinstanceType)(void* ent); typedef char** (*sq_GetEntityConstantType)(); typedef int (*sq_getfunctionType)(HSquirrelVM* sqvm, const char* name, SQObject* returnObj, const char* signature); |