C# Class Pokemon3D.Scripting.Adapters.ScriptOutAdapter

An adapter to convert script objects to regular .Net objects.
Datei anzeigen Open project: nilllzz/Pokemon3D Class Usage Examples

Public Methods

Method Description
Translate ( SObject obj ) : object

Translates an SObject to a dynamic type.

Translate ( SProtoObject obj, Type t ) : object

Translates an SObject to a specific type.

Private Methods

Method Description
TranslateArray ( SArray obj ) : object
TranslateDynamic ( SProtoObject obj ) : object
TranslateError ( SError obj ) : object
TranslateFunction ( SFunction obj ) : object
TranslateNumber ( SNumber obj ) : object

Method Details

Translate() public static method

Translates an SObject to a dynamic type.
public static Translate ( SObject obj ) : object
obj Pokemon3D.Scripting.Types.SObject
return object

Translate() public static method

Translates an SObject to a specific type.
public static Translate ( SProtoObject obj, Type t ) : object
obj Pokemon3D.Scripting.Types.SProtoObject
t System.Type
return object