Click or drag to resize
CustomActionGetDelegate Delegate

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

Allows you to modify the actions associated with a block before it's displayed to user.

Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0
Syntax
C#
public delegate void CustomActionGetDelegate(
	IMyTerminalBlock block,
	List<IMyTerminalAction> actions
)

Parameters

block
Type: Sandbox.ModAPIIMyTerminalBlock
The block actions are associated with
actions
Type: System.Collections.GenericListIMyTerminalAction
The list of actions for this block
See Also