Click or drag to resize
IMyTerminalControlsAddActionTBlock Method
v01.180.0 (Beta)

[This is preliminary documentation and is subject to change.]

This allows you to add an action to an assocated block

Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
void AddAction<TBlock>(
	IMyTerminalAction action
)

Parameters

action
Type: Sandbox.ModAPI.Interfaces.TerminalIMyTerminalAction
An IMyTerminalAction object returned from CreateAction

Type Parameters

TBlock
The ModAPI interface of the associated block
See Also