Space Engineers
|
This is an interface wrapper for terminal actions that appear on a toolbar. An instance of this interface is created via MyAPIGateway.TerminalControls.CreateAction. Once created, you may modify various fields to control how the action behaves. More...
Properties | |
Func< IMyTerminalBlock, bool > | Enabled [set] |
Allows you to set if this action is enabled or disabled More... | |
List< MyToolbarType > | InvalidToolbarTypes [get, set] |
Allows you to set which toolbar type this action is invalid for. Adding to this means this action may not be added to that toolbar type. More... | |
bool | ValidForGroups [get, set] |
Allows you to set if this action is valid in groups More... | |
new StringBuilder | Name [get, set] |
Allows you to set the name of the Action More... | |
new string | Icon [get, set] |
Allows you to set the Icon of this action. It's a link to an icon texture. More... | |
Action< IMyTerminalBlock > | Action [get, set] |
This is the action taken when an action is performed. More... | |
Action< IMyTerminalBlock, StringBuilder > | Writer [get, set] |
This allows you to set the "Icon Text" of an action (the text that appears under the icon in the toolbar) More... | |
Properties inherited from Sandbox.ModAPI.Interfaces.ITerminalAction | |
string | Id [get] |
string | Icon [get] |
StringBuilder | Name [get] |
Additional Inherited Members | |
Public Member Functions inherited from Sandbox.ModAPI.Interfaces.ITerminalAction | |
void | Apply (VRage.Game.ModAPI.Ingame.IMyCubeBlock block) |
void | Apply (VRage.Game.ModAPI.Ingame.IMyCubeBlock block, ListReader< TerminalActionParameter > terminalActionParameters) |
void | WriteValue (VRage.Game.ModAPI.Ingame.IMyCubeBlock block, StringBuilder appendTo) |
bool | IsEnabled (VRage.Game.ModAPI.Ingame.IMyCubeBlock block) |
This is an interface wrapper for terminal actions that appear on a toolbar. An instance of this interface is created via MyAPIGateway.TerminalControls.CreateAction. Once created, you may modify various fields to control how the action behaves.
Definition at line 12 of file IMyTerminalAction.cs.
|
getset |
This is the action taken when an action is performed.
Definition at line 37 of file IMyTerminalAction.cs.
|
set |
Allows you to set if this action is enabled or disabled
Definition at line 17 of file IMyTerminalAction.cs.
|
getset |
Allows you to set the Icon of this action. It's a link to an icon texture.
Definition at line 33 of file IMyTerminalAction.cs.
|
getset |
Allows you to set which toolbar type this action is invalid for. Adding to this means this action may not be added to that toolbar type.
Definition at line 21 of file IMyTerminalAction.cs.
|
getset |
Allows you to set the name of the Action
Definition at line 29 of file IMyTerminalAction.cs.
|
getset |
Allows you to set if this action is valid in groups
Definition at line 25 of file IMyTerminalAction.cs.
|
getset |
This allows you to set the "Icon Text" of an action (the text that appears under the icon in the toolbar)
Definition at line 41 of file IMyTerminalAction.cs.