Space Engineers
|
The interface for the grid program provides extra access for the game and for mods. See MyGridProgram for the class the scripts actually derive from. More...
Public Member Functions | |
void | Main (string argument) |
Invokes this grid program. More... | |
void | Save () |
If this grid program has state saving capability, calling this method will invoke it. More... | |
Properties | |
Ingame.IMyGridTerminalSystem | GridTerminalSystem [get, set] |
Gets or sets the GridTerminalSystem available for the grid programs. More... | |
Ingame.IMyProgrammableBlock | Me [get, set] |
Gets or sets the programmable block which is currently running this grid program. More... | |
TimeSpan | ElapsedTime [get, set] |
Gets or sets the amount of time elapsed since the last time this grid program was run. More... | |
string | Storage [get, set] |
Gets or sets the storage string for this grid program. More... | |
IMyGridProgramRuntimeInfo | Runtime [get, set] |
Gets or sets the object used to provide runtime information for the running grid program. More... | |
Action< string > | Echo [get, set] |
Gets or sets the action which prints out text onto the currently running programmable block's detail info area. More... | |
bool | HasMainMethod [get] |
Determines whether this grid program has a valid Main method. More... | |
bool | HasSaveMethod [get] |
Determines whether this grid program has a valid Save method. More... | |
The interface for the grid program provides extra access for the game and for mods. See MyGridProgram for the class the scripts actually derive from.
Definition at line 10 of file IMyGridProgram.cs.
void Sandbox.ModAPI.IMyGridProgram.Main | ( | string | argument | ) |
Invokes this grid program.
argument |
void Sandbox.ModAPI.IMyGridProgram.Save | ( | ) |
If this grid program has state saving capability, calling this method will invoke it.
|
getset |
Gets or sets the action which prints out text onto the currently running programmable block's detail info area.
Definition at line 41 of file IMyGridProgram.cs.
|
getset |
Gets or sets the amount of time elapsed since the last time this grid program was run.
Definition at line 26 of file IMyGridProgram.cs.
|
getset |
Gets or sets the GridTerminalSystem available for the grid programs.
Definition at line 15 of file IMyGridProgram.cs.
|
get |
Determines whether this grid program has a valid Main method.
Definition at line 46 of file IMyGridProgram.cs.
|
get |
Determines whether this grid program has a valid Save method.
Definition at line 57 of file IMyGridProgram.cs.
|
getset |
Gets or sets the programmable block which is currently running this grid program.
Definition at line 20 of file IMyGridProgram.cs.
|
getset |
Gets or sets the object used to provide runtime information for the running grid program.
Definition at line 36 of file IMyGridProgram.cs.
|
getset |
Gets or sets the storage string for this grid program.
Definition at line 31 of file IMyGridProgram.cs.