|
bool | TryRun (string argument) |
| Attempts to run this programmable block using the given argument. An already running programmable block cannot be run again. This is equivalent to running block.ApplyAction("Run", argumentsList); More...
|
|
Public Member Functions inherited from Sandbox.ModAPI.Ingame.IMyFunctionalBlock |
void | RequestEnable (bool enable) |
|
void | RequestEnable (bool enable) |
|
Public Member Functions inherited from Sandbox.ModAPI.Ingame.IMyTerminalBlock |
bool | HasLocalPlayerAccess () |
|
bool | HasPlayerAccess (long playerId) |
|
void | SetCustomName (string text) |
|
void | SetCustomName (StringBuilder text) |
|
void | GetActions (List< Sandbox.ModAPI.Interfaces.ITerminalAction > resultList, Func< Sandbox.ModAPI.Interfaces.ITerminalAction, bool > collect=null) |
|
void | SearchActionsOfName (string name, List< Sandbox.ModAPI.Interfaces.ITerminalAction > resultList, Func< Sandbox.ModAPI.Interfaces.ITerminalAction, bool > collect=null) |
|
Sandbox.ModAPI.Interfaces.ITerminalAction | GetActionWithName (string name) |
|
Sandbox.ModAPI.Interfaces.ITerminalProperty | GetProperty (string id) |
|
void | GetProperties (List< Sandbox.ModAPI.Interfaces.ITerminalProperty > resultList, Func< Sandbox.ModAPI.Interfaces.ITerminalProperty, bool > collect=null) |
|
bool | HasLocalPlayerAccess () |
|
bool | HasPlayerAccess (long playerId) |
|
void | RequestShowOnHUD (bool enable) |
|
void | SetCustomName (string text) |
|
void | SetCustomName (StringBuilder text) |
|
void | GetActions (List< Sandbox.ModAPI.Interfaces.ITerminalAction > resultList, Func< Sandbox.ModAPI.Interfaces.ITerminalAction, bool > collect=null) |
|
Public Member Functions inherited from Sandbox.ModAPI.Ingame.IMyCubeBlock |
string | GetOwnerFactionTag () |
|
Sandbox.Common.MyRelationsBetweenPlayerAndBlock | GetPlayerRelationToOwner () |
|
Sandbox.Common.MyRelationsBetweenPlayerAndBlock | GetUserRelationToOwner (long playerId) |
|
void | UpdateIsWorking () |
|
void | UpdateVisual () |
|
Definition at line 8 of file IMyProgrammableBlock.cs.
bool Sandbox.ModAPI.Ingame.IMyProgrammableBlock.TryRun |
( |
string |
argument | ) |
|
Attempts to run this programmable block using the given argument. An already running programmable block cannot be run again. This is equivalent to running block.ApplyAction("Run", argumentsList);
- Parameters
-
- Returns
true
if the action was applied, false
otherwise
bool Sandbox.ModAPI.Ingame.IMyProgrammableBlock.IsRunning |
|
get |
string Sandbox.ModAPI.Ingame.IMyProgrammableBlock.TerminalRunArgument |
|
get |
The documentation for this interface was generated from the following file: