C# Class FOnline.AngelScript.ScriptModule

Exposes the functionality of asIScriptModule implementation.
Inheritance: System.Dynamic.DynamicObject
Afficher le fichier Open project: wladimiiir/vault112

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AddRef ( ) : void
Résultat void

AddScriptSection() public méthode

public AddScriptSection ( string name, string code ) : void
name string
code string
Résultat void

Build() public méthode

public Build ( ) : void
Résultat void

GetAddressOfGlobalVar() public méthode

public GetAddressOfGlobalVar ( int index ) : IntPtr
index int
Résultat System.IntPtr

GetFunctionByName() public méthode

public GetFunctionByName ( string name ) : ScriptFunction
name string
Résultat ScriptFunction

GetGlobalVar() public méthode

public GetGlobalVar ( int index, int &tid ) : void
index int
tid int
Résultat void

GetGlobalVarIndexByName() public méthode

public GetGlobalVarIndexByName ( string name ) : int
name string
Résultat int

GetObjectTypeByName() public méthode

public GetObjectTypeByName ( string name ) : ScriptObjectType
name string
Résultat ScriptObjectType

Release() public méthode

public Release ( ) : void
Résultat void

ScriptModule() public méthode

public ScriptModule ( IntPtr ptr ) : System
ptr System.IntPtr
Résultat System

TryGetMember() public méthode

public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder System.Dynamic.GetMemberBinder
result object
Résultat bool

TryInvokeMember() public méthode

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

TrySetMember() public méthode

public TrySetMember ( SetMemberBinder binder, object value ) : bool
binder System.Dynamic.SetMemberBinder
value object
Résultat bool