C# Class FOnline.AngelScript.ScriptModule

Exposes the functionality of asIScriptModule implementation.
Inheritance: System.Dynamic.DynamicObject
ファイルを表示 Open project: wladimiiir/vault112

Public Methods

Method Description
AddRef ( ) : void
AddScriptSection ( string name, string code ) : void
Build ( ) : void
GetAddressOfGlobalVar ( int index ) : IntPtr
GetFunctionByName ( string name ) : ScriptFunction
GetGlobalVar ( int index, int &tid ) : void
GetGlobalVarIndexByName ( string name ) : int
GetObjectTypeByName ( string name ) : ScriptObjectType
Release ( ) : void
ScriptModule ( IntPtr ptr ) : System
TryGetMember ( GetMemberBinder binder, object &result ) : bool
TryInvokeMember ( InvokeMemberBinder binder, object args, object &result ) : bool
TrySetMember ( SetMemberBinder binder, object value ) : bool

Private Methods

Method Description
GetFunction ( string name ) : ScriptFunction
ScriptModule_AddScriptSection ( IntPtr thisptr, string name, string code ) : int
ScriptModule_Build ( IntPtr thisptr ) : int
ScriptModule_GetAddressOfGlobalVar ( IntPtr thisptr, uint index ) : IntPtr
ScriptModule_GetFunctionByName ( IntPtr thisptr, string name ) : IntPtr
ScriptModule_GetGlobalVar ( IntPtr thisptr, uint index, int &tid ) : int
ScriptModule_GetGlobalVarIndexByName ( IntPtr thisptr, string name ) : int
ScriptModule_GetName ( IntPtr thisptr ) : string
ScriptModule_GetObjectTypeByName ( IntPtr thisptr, string name ) : IntPtr

Method Details

AddRef() public method

public AddRef ( ) : void
return void

AddScriptSection() public method

public AddScriptSection ( string name, string code ) : void
name string
code string
return void

Build() public method

public Build ( ) : void
return void

GetAddressOfGlobalVar() public method

public GetAddressOfGlobalVar ( int index ) : IntPtr
index int
return System.IntPtr

GetFunctionByName() public method

public GetFunctionByName ( string name ) : ScriptFunction
name string
return ScriptFunction

GetGlobalVar() public method

public GetGlobalVar ( int index, int &tid ) : void
index int
tid int
return void

GetGlobalVarIndexByName() public method

public GetGlobalVarIndexByName ( string name ) : int
name string
return int

GetObjectTypeByName() public method

public GetObjectTypeByName ( string name ) : ScriptObjectType
name string
return ScriptObjectType

Release() public method

public Release ( ) : void
return void

ScriptModule() public method

public ScriptModule ( IntPtr ptr ) : System
ptr System.IntPtr
return System

TryGetMember() public method

public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder System.Dynamic.GetMemberBinder
result object
return bool

TryInvokeMember() public method

public TryInvokeMember ( InvokeMemberBinder binder, object args, object &result ) : bool
binder System.Dynamic.InvokeMemberBinder
args object
result object
return bool

TrySetMember() public method

public TrySetMember ( SetMemberBinder binder, object value ) : bool
binder System.Dynamic.SetMemberBinder
value object
return bool