Script_Definitions

Definitions of functions, types and variables.

CreateScriptSystem Function
C++
CRYSCRIPTSYSTEM_API IScriptSystem * CreateScriptSystem(ISystem * pSystem, bool bStdLibs);
File

IScriptSystem.h

CREATESCRIPTSYSTEM_FNCPTR Type
C++
typedef IScriptSystem * (* CREATESCRIPTSYSTEM_FNCPTR)(ISystem *pSystem,bool bStdLibs);
File

IScriptSystem.h

HBREAKPOINT Type
C++
typedef int HBREAKPOINT;
File

IScriptSystem.h

HSCRIPTFUNCTION Type
C++
typedef SScriptFuncHandle* HSCRIPTFUNCTION;
File

IScriptSystem.h

ScriptHandle Union
C++
union ScriptHandle {
  UINT_PTR n;
  void * ptr;
};
File

IScriptSystem.h

Description

ScriptHandle type used to pass pointers and handles to/from Lua script. As Lua script do not natively support integers, full range integers used as handles must be stored in Lua using this class.

ScriptHandle::n Data Member
C++
UINT_PTR n;
ScriptHandle::ptr Data Member
C++
void * ptr;
ScriptHandle::ScriptHandle Constructor ()
C++
ScriptHandle();
ScriptHandle::ScriptHandle Constructor (int)
C++
ScriptHandle(int i);
ScriptHandle::ScriptHandle Constructor (void *)
C++
ScriptHandle(void * p);