Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Sandbox.ModAPI.Ingame.TerminalBlockExtentions

Morten Aune Lyrstad edited this page Feb 3, 2022 · 49 revisions

IndexNamespace Index

TerminalBlockExtentions Class

public abstract sealed class TerminalBlockExtentions

Class having some sugar extensions. Written by Kalvin Osborne, AKA Night Lone.

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

Methods

Member Description
GetId(this IMyTerminalBlock) Get EntityId of block
ApplyAction(this IMyTerminalBlock, string) Finds action by GetActionWithName(string) and calls Apply(IMyCubeBlock)
ApplyAction(this IMyTerminalBlock, string, List) Finds action by GetActionWithName(string) and calls Apply(IMyCubeBlock, ListReader<Sandbox.ModAPI.Ingame.TerminalActionParameter>)
HasAction(this IMyTerminalBlock, string) Searches for terminal action with name
HasInventory(this IMyTerminalBlock) Obsolete: Use the HasInventory property.
GetInventory(this IMyTerminalBlock, int) Obsolete: Use the GetInventoryBase method.
GetInventoryCount(this IMyTerminalBlock) Obsolete: Use the InventoryCount property.
GetUseConveyorSystem(this IMyTerminalBlock) Obsolete: Use the blocks themselves, this method is no longer reliable
SetUseConveyorSystem(this IMyTerminalBlock, bool) Obsolete: Use the blocks themselves, this method is no longer reliable

Clone this wiki locally