Space Engineers
Public Member Functions | Properties | List of all members
VRage.Game.VisualScripting.MyVisualScriptBuilder Class Reference

Creates class syntax for provided file. More...

Public Member Functions

 MyVisualScriptBuilder ()
 
bool Load ()
 Loads the script file. More...
 
bool Build ()
 Creates syntax of a class generated out of interactionNodes. More...
 

Properties

string Syntax [get]
 
string ScriptName [get]
 
List< string > Dependencies [get]
 
string ScriptFilePath [get, set]
 

Detailed Description

Creates class syntax for provided file.

Notes: WorldScripts Consist of Event methods having only input purpose, so they have no output variables and void return value. One event type with same signature can appear on multiple places in the script. Such situaltion mean that the method body will have multiple sections that will be later evaluated independently without any order dependency.

NormalScripts Should have only one input as entry point of the method and multiple or none Output nodes. Output nodes have parameters defined. Method signature will contain input variables (from input node), output variables (from outputs - all outputs must have same signature) and bool return value. Return value tells the system if the output node was reached and whenever we should or should not continue executing the sequence chain.

Definition at line 37 of file MyVisualScriptBuilder.cs.

Constructor & Destructor Documentation

VRage.Game.VisualScripting.MyVisualScriptBuilder.MyVisualScriptBuilder ( )
inline

Definition at line 69 of file MyVisualScriptBuilder.cs.

Member Function Documentation

bool VRage.Game.VisualScripting.MyVisualScriptBuilder.Build ( )
inline

Creates syntax of a class generated out of interactionNodes.

Returns

Definition at line 126 of file MyVisualScriptBuilder.cs.

bool VRage.Game.VisualScripting.MyVisualScriptBuilder.Load ( )
inline

Loads the script file.

Returns

Definition at line 83 of file MyVisualScriptBuilder.cs.

Property Documentation

List<string> VRage.Game.VisualScripting.MyVisualScriptBuilder.Dependencies
get

Definition at line 61 of file MyVisualScriptBuilder.cs.

string VRage.Game.VisualScripting.MyVisualScriptBuilder.ScriptFilePath
getset

Definition at line 64 of file MyVisualScriptBuilder.cs.

string VRage.Game.VisualScripting.MyVisualScriptBuilder.ScriptName
get

Definition at line 59 of file MyVisualScriptBuilder.cs.

string VRage.Game.VisualScripting.MyVisualScriptBuilder.Syntax
get

Definition at line 57 of file MyVisualScriptBuilder.cs.


The documentation for this class was generated from the following file: