Space Engineers
|
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] |
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.
|
inline |
Definition at line 69 of file MyVisualScriptBuilder.cs.
|
inline |
Creates syntax of a class generated out of interactionNodes.
Definition at line 126 of file MyVisualScriptBuilder.cs.
|
inline |
|
get |
Definition at line 61 of file MyVisualScriptBuilder.cs.
|
getset |
Definition at line 64 of file MyVisualScriptBuilder.cs.
|
get |
Definition at line 59 of file MyVisualScriptBuilder.cs.
|
get |
Definition at line 57 of file MyVisualScriptBuilder.cs.