Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Sandbox.ModAPI.Interfaces.ITerminalAction

Morten Aune Lyrstad edited this page May 8, 2022 · 41 revisions

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

Clone this wiki locally