Sandbox.ModAPI.Ingame
TerminalBlockExtentions
Assembly: Sandbox.Common.dll
public abstract sealed class TerminalBlockExtentions
Class having some sugar extensions. Written by Kalvin Osborne, AKA Night Lone.
Methods
| Member | Description |
|---|---|
| static ApplyAction(this IMyTerminalBlock, string) | Finds action by GetActionWithName(string) and calls Apply(IMyCubeBlock) |
| static ApplyAction(this IMyTerminalBlock, string, List |
Finds action by GetActionWithName(string) and calls Apply(IMyCubeBlock, ListReader |
| static GetId(this IMyTerminalBlock) | Get EntityId of block |
| static HasAction(this IMyTerminalBlock, string) | Searches for terminal action with name |
| static GetInventory(this IMyTerminalBlock, int) | Obsolete: Use the GetInventoryBase method. Obsolete |
| static GetInventoryCount(this IMyTerminalBlock) | Obsolete: Use the InventoryCount property. Obsolete |
| static GetUseConveyorSystem(this IMyTerminalBlock) | Obsolete: Use the blocks themselves, this method is no longer reliable Obsolete |
| static HasInventory(this IMyTerminalBlock) | Obsolete: Use the HasInventory property. Obsolete |
| static SetUseConveyorSystem(this IMyTerminalBlock, bool) | Obsolete: Use the blocks themselves, this method is no longer reliable Obsolete |