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 Apr 16, 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 |
|---|---|
| \$1static void ApplyAction(this IMyTerminalBlock, string)](Sandbox.ModAPI.Ingame.TerminalBlockExtentions.ApplyAction) | Finds action by GetActionWithName(string) and calls Apply(IMyCubeBlock) |
| \$1static void ApplyAction(this IMyTerminalBlock, string, List\$1TerminalActionParameter>)](Sandbox.ModAPI.Ingame.TerminalBlockExtentions.ApplyAction) | Finds action by GetActionWithName(string) and calls Apply(IMyCubeBlock, ListReader) |
| \$1static long GetId(this IMyTerminalBlock)](Sandbox.ModAPI.Ingame.TerminalBlockExtentions.GetId) | Get EntityId of block |
| \$1static IMyInventory GetInventory(this IMyTerminalBlock, int)](Sandbox.ModAPI.Ingame.TerminalBlockExtentions.GetInventory) | Obsolete: Use the GetInventoryBase method. |
| \$1static int GetInventoryCount(this IMyTerminalBlock)](Sandbox.ModAPI.Ingame.TerminalBlockExtentions.GetInventoryCount) | Obsolete: Use the InventoryCount property. |
| \$1static bool GetUseConveyorSystem(this IMyTerminalBlock)](Sandbox.ModAPI.Ingame.TerminalBlockExtentions.GetUseConveyorSystem) | Obsolete: Use the blocks themselves, this method is no longer reliable |
| \$1static bool HasAction(this IMyTerminalBlock, string)](Sandbox.ModAPI.Ingame.TerminalBlockExtentions.HasAction) | Searches for terminal action with name |
| \$1static bool HasInventory(this IMyTerminalBlock)](Sandbox.ModAPI.Ingame.TerminalBlockExtentions.HasInventory) | Obsolete: Use the HasInventory property. |
| \$1static void SetUseConveyorSystem(this IMyTerminalBlock, bool)](Sandbox.ModAPI.Ingame.TerminalBlockExtentions.SetUseConveyorSystem) | 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!