Sandbox.ModAPI.Interfaces.ITerminalAction - bimbam2103/space_engineers GitHub Wiki

IndexNamespace Index

ITerminalAction Interface

public interface ITerminalAction

Describes terminal action interface

Namespace: Sandbox.ModAPI.Interfaces
Assembly: Sandbox.Common.dll

Properties

string Icon { get; }

Gets the icon of the action

string Id { get; }

Gets the id of the action

StringBuilder Name { get; }

Gets the name of the action

Methods

void Apply(IMyCubeBlock block)

Applies action on the block

void Apply(IMyCubeBlock block, ListReader<TerminalActionParameter> terminalActionParameters)

Applies action on the block with specific action parameters

bool IsEnabled(IMyCubeBlock block)

Checks if action is enabled for specific block

void WriteValue(IMyCubeBlock block, StringBuilder appendTo)

Writes value for the action

⚠️ **GitHub.com Fallback** ⚠️