This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
Sandbox.ModAPI.Ingame.TerminalBlockExtentions
Morten Aune Lyrstad edited this page Feb 3, 2022
·
49 revisions
← Index ← Namespace Index
public abstract sealed class TerminalBlockExtentionsClass having some sugar extensions. Written by Kalvin Osborne, AKA Night Lone.
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
| 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 |
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!