C# Class FOnline.AngelScript.ScriptObjectType

Exposes the functionality of asIObjectType implementation.
ファイルを表示 Open project: wladimiiir/vault112 Class Usage Examples

Public Methods

Method Description
AddRef ( ) : void
GetFieldDesc ( string name, int &offset, int &tid ) : bool
GetMethod ( string name ) : ScriptFunction
GetMethodByDecl ( string decl, bool get_virtual ) : ScriptFunction
GetMethodByIndex ( uint index, bool get_virtual ) : ScriptFunction
GetMethodByName ( string name, bool get_virtual ) : ScriptFunction
GetMethodCount ( ) : uint
GetProperty ( int index, string &name, int &tid, bool &is_private, int &offset, bool &is_reference ) : void
Instantiate ( IntPtr ptr, int tid ) : object
Release ( ) : void
ScriptObjectType ( IntPtr ptr ) : System

Private Methods

Method Description
ScriptObjectType ( ) : System
ScriptObjectType_AddRef ( IntPtr ptr ) : void
ScriptObjectType_GetMethodByDecl ( IntPtr thisptr, string decl, bool get_virtual ) : IntPtr
ScriptObjectType_GetMethodByIndex ( IntPtr thisptr, uint index, bool get_virtual ) : IntPtr
ScriptObjectType_GetMethodByName ( IntPtr thisptr, string name, bool get_virtual ) : IntPtr
ScriptObjectType_GetMethodCount ( IntPtr thisptr ) : uint
ScriptObjectType_GetName ( IntPtr thisptr ) : string
ScriptObjectType_GetProperty ( IntPtr thisptr, uint index, string &name, int &tid, bool &is_private, int &offset, bool &is_reference ) : int
ScriptObjectType_GetPropertyCount ( IntPtr thisptr ) : uint
ScriptObjectType_GetSubType ( IntPtr thisptr ) : IntPtr
ScriptObjectType_GetSubTypeId ( IntPtr thisptr ) : int
ScriptObjectType_GetTypeId ( IntPtr thisptr ) : int
ScriptObjectType_Release ( IntPtr ptr ) : void

Method Details

AddRef() public method

public AddRef ( ) : void
return void

GetFieldDesc() public method

public GetFieldDesc ( string name, int &offset, int &tid ) : bool
name string
offset int
tid int
return bool

GetMethod() public method

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

GetMethodByDecl() public method

public GetMethodByDecl ( string decl, bool get_virtual ) : ScriptFunction
decl string
get_virtual bool
return ScriptFunction

GetMethodByIndex() public method

public GetMethodByIndex ( uint index, bool get_virtual ) : ScriptFunction
index uint
get_virtual bool
return ScriptFunction

GetMethodByName() public method

public GetMethodByName ( string name, bool get_virtual ) : ScriptFunction
name string
get_virtual bool
return ScriptFunction

GetMethodCount() public method

public GetMethodCount ( ) : uint
return uint

GetProperty() public method

public GetProperty ( int index, string &name, int &tid, bool &is_private, int &offset, bool &is_reference ) : void
index int
name string
tid int
is_private bool
offset int
is_reference bool
return void

Instantiate() public static method

public static Instantiate ( IntPtr ptr, int tid ) : object
ptr System.IntPtr
tid int
return object

Release() public method

public Release ( ) : void
return void

ScriptObjectType() public method

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