C# Class Pokemon3D.Scripting.Types.SObject

Show file Open project: nilllzz/Pokemon3D Class Usage Examples

Protected Methods

Method Description
IsNull ( SObject obj ) : bool

Returns if the input object is null.

Private Methods

Method Description
ExecuteMethod ( ScriptProcessor processor, string methodName, SObject caller, SObject This, SObject parameters ) : SObject

Executes a member function of this object.

GetMember ( ScriptProcessor processor, SObject accessor, bool isIndexer ) : SObject

Returns a member variable of this object.

HasMember ( ScriptProcessor processor, string memberName ) : bool

Returns if this object has a specific member.

SetMember ( ScriptProcessor processor, SObject accessor, bool isIndexer, SObject value ) : void

Sets a member variable of this object to a new value.

SizeOf ( ) : double
ToBool ( ScriptProcessor processor ) : SBool

Returns the bool representation of this object.

ToNumber ( ScriptProcessor processor ) : SNumber

Returns the number representation of this object.

ToScriptObject ( ) : string

Returns a representation of the current object that the script processor works with.

ToScriptSource ( ) : string

Returns a representation of the current object that exposes the source of it.

ToString ( ScriptProcessor processor ) : SString

Returns the string representation of this object.

TypeOf ( ) : string
Unbox ( SObject obj ) : SObject

Unboxes an SVariable if the passed in object is one.

Method Details

IsNull() protected static method

Returns if the input object is null.
protected static IsNull ( SObject obj ) : bool
obj SObject
return bool