C# Class FOnline.AngelScript.ScriptEngine

Exibir arquivo Open project: wladimiiir/vault112

Public Methods

Method Description
AddRefScriptObject ( ScriptObject obj, int tid ) : void
AssignScriptObject ( IntPtr dst, IntPtr src, int tid ) : void
CallPragmas ( string pragmas ) : void
CreateContext ( ) : ScriptContext
CreateScriptObject ( ScriptObjectType ot ) : IntPtr
CreateScriptObjectCopy ( IntPtr ptr, ScriptObjectType ot ) : ScriptObject
GetModule ( string name, asEGMFlags flag = asEGMFlags.asGM_ONLY_IF_EXISTS ) : ScriptModule
GetObjectTypeById ( int tid ) : ScriptObjectType
GetTypeIdByDecl ( string decl ) : int
GetVariable ( IntPtr ptr, int tid, object cached = null ) : object
Log ( string msg ) : void
ReleaseScriptObject ( IntPtr ptr, int tid ) : void
ReleaseScriptObject ( ScriptObject obj, int tid ) : void
SetVariable ( IntPtr ptr, int tid, object value ) : void

Private Methods

Method Description
ScriptEngine_AddRefScriptObject ( IntPtr obj, int tid ) : void
ScriptEngine_AssignScriptObject ( IntPtr dst, IntPtr src, int tid ) : void
ScriptEngine_CallPragmas ( string pragmas ) : void
ScriptEngine_CreateContext ( ) : IntPtr
ScriptEngine_CreateScriptObject ( int tid ) : IntPtr
ScriptEngine_CreateScriptObjectCopy ( IntPtr obj, int tid ) : IntPtr
ScriptEngine_GetModule ( string name, int flag ) : IntPtr
ScriptEngine_GetObjectTypeById ( int tid ) : IntPtr
ScriptEngine_GetTypeIdByDecl ( string decl ) : int
ScriptEngine_ReleaseScriptObject ( IntPtr obj, int tid ) : void

Method Details

AddRefScriptObject() public static method

public static AddRefScriptObject ( ScriptObject obj, int tid ) : void
obj ScriptObject
tid int
return void

AssignScriptObject() public static method

public static AssignScriptObject ( IntPtr dst, IntPtr src, int tid ) : void
dst System.IntPtr
src System.IntPtr
tid int
return void

CallPragmas() public static method

public static CallPragmas ( string pragmas ) : void
pragmas string
return void

CreateContext() public static method

public static CreateContext ( ) : ScriptContext
return ScriptContext

CreateScriptObject() public static method

public static CreateScriptObject ( ScriptObjectType ot ) : IntPtr
ot ScriptObjectType
return System.IntPtr

CreateScriptObjectCopy() public static method

public static CreateScriptObjectCopy ( IntPtr ptr, ScriptObjectType ot ) : ScriptObject
ptr System.IntPtr
ot ScriptObjectType
return ScriptObject

GetModule() public static method

public static GetModule ( string name, asEGMFlags flag = asEGMFlags.asGM_ONLY_IF_EXISTS ) : ScriptModule
name string
flag asEGMFlags
return ScriptModule

GetObjectTypeById() public static method

public static GetObjectTypeById ( int tid ) : ScriptObjectType
tid int
return ScriptObjectType

GetTypeIdByDecl() public static method

public static GetTypeIdByDecl ( string decl ) : int
decl string
return int

GetVariable() public static method

public static GetVariable ( IntPtr ptr, int tid, object cached = null ) : object
ptr System.IntPtr
tid int
cached object
return object

Log() public static method

public static Log ( string msg ) : void
msg string
return void

ReleaseScriptObject() public static method

public static ReleaseScriptObject ( IntPtr ptr, int tid ) : void
ptr System.IntPtr
tid int
return void

ReleaseScriptObject() public static method

public static ReleaseScriptObject ( ScriptObject obj, int tid ) : void
obj ScriptObject
tid int
return void

SetVariable() public static method

public static SetVariable ( IntPtr ptr, int tid, object value ) : void
ptr System.IntPtr
tid int
value object
return void