C# Class Pokemon3D.Scripting.Adapters.ScriptObjectLink

Holds a link back into the scripting engine to set fields of a script object.
ファイルを表示 Open project: nilllzz/Pokemon3D Class Usage Examples

Public Methods

Method Description
GetReference ( string identifier ) : object
SetMember ( string identifier, object value ) : void

Sets a member of the original script object.

SetMember ( string identifier, object value, object netObject ) : void

Sets a member of the original script object and updates the .net object with the new value as well.

SetReference ( string identifier, object reference ) : void

Private Methods

Method Description
ScriptObjectLink ( ScriptProcessor processor, SObject obj ) : System.Collections.Generic

Method Details

GetReference() public method

public GetReference ( string identifier ) : object
identifier string
return object

SetMember() public method

Sets a member of the original script object.
public SetMember ( string identifier, object value ) : void
identifier string
value object
return void

SetMember() public method

Sets a member of the original script object and updates the .net object with the new value as well.
public SetMember ( string identifier, object value, object netObject ) : void
identifier string
value object
netObject object
return void

SetReference() public method

public SetReference ( string identifier, object reference ) : void
identifier string
reference object
return void