C# Класс FOnline.AngelScript.ScriptModule

Exposes the functionality of asIScriptModule implementation.
Наследование: System.Dynamic.DynamicObject
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AddRef() публичный Метод

public AddRef ( ) : void
Результат void

AddScriptSection() публичный Метод

public AddScriptSection ( string name, string code ) : void
name string
code string
Результат void

Build() публичный Метод

public Build ( ) : void
Результат void

GetAddressOfGlobalVar() публичный Метод

public GetAddressOfGlobalVar ( int index ) : IntPtr
index int
Результат System.IntPtr

GetFunctionByName() публичный Метод

public GetFunctionByName ( string name ) : ScriptFunction
name string
Результат ScriptFunction

GetGlobalVar() публичный Метод

public GetGlobalVar ( int index, int &tid ) : void
index int
tid int
Результат void

GetGlobalVarIndexByName() публичный Метод

public GetGlobalVarIndexByName ( string name ) : int
name string
Результат int

GetObjectTypeByName() публичный Метод

public GetObjectTypeByName ( string name ) : ScriptObjectType
name string
Результат ScriptObjectType

Release() публичный Метод

public Release ( ) : void
Результат void

ScriptModule() публичный Метод

public ScriptModule ( IntPtr ptr ) : System
ptr System.IntPtr
Результат System

TryGetMember() публичный Метод

public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder System.Dynamic.GetMemberBinder
result object
Результат bool

TryInvokeMember() публичный Метод

public TryInvokeMember ( InvokeMemberBinder binder, object args, object &result ) : bool
binder System.Dynamic.InvokeMemberBinder
args object
result object
Результат bool

TrySetMember() публичный Метод

public TrySetMember ( SetMemberBinder binder, object value ) : bool
binder System.Dynamic.SetMemberBinder
value object
Результат bool