C# Class Pokemon3D.Common.ScriptPipeline.ApiClass

显示文件 Open project: nilllzz/Pokemon3D

Protected Methods

Method Description
BlockThreadUntilCondition ( Func condition ) : void

Blocks the currently running script until a condition is met.

EnsureTypeContract ( SObject parameters, Type typeContract, object &netObjects ) : bool

Ensures that the parameters for an API method fulfill the type contract. It also converts all script objects to .Net objects.

Method Details

BlockThreadUntilCondition() protected static method

Blocks the currently running script until a condition is met.
protected static BlockThreadUntilCondition ( Func condition ) : void
condition Func
return void

EnsureTypeContract() protected static method

Ensures that the parameters for an API method fulfill the type contract. It also converts all script objects to .Net objects.
protected static EnsureTypeContract ( SObject parameters, Type typeContract, object &netObjects ) : bool
parameters Pokemon3D.Scripting.Types.SObject
typeContract System.Type
netObjects object
return bool