-
Notifications
You must be signed in to change notification settings - Fork 124
Sandbox.ModAPI.Ingame.TerminalBlockExtentions
← Index ← Namespace Index
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
static void ApplyAction(this IMyTerminalBlock block, string actionName)
Finds action by GetActionWithName(string) and calls Apply(IMyCubeBlock)
Finds action by GetActionWithName(string) and calls Apply(IMyCubeBlock, ListReader)
static long GetId(this IMyTerminalBlock block)
Get EntityId of block
static bool HasAction(this IMyTerminalBlock block, string actionName)
Searches for terminal action with name
static IMyInventory GetInventory(this IMyTerminalBlock block, int index)
Obsolete: Use the GetInventoryBase method.
Obsolete
static int GetInventoryCount(this IMyTerminalBlock block)
Obsolete: Use the InventoryCount property.
Obsolete
static bool GetUseConveyorSystem(this IMyTerminalBlock block)
Obsolete: Use the blocks themselves, this method is no longer reliable
Obsolete
static bool HasInventory(this IMyTerminalBlock block)
Obsolete: Use the HasInventory property.
Obsolete
static void SetUseConveyorSystem(this IMyTerminalBlock block, bool use)
Obsolete: Use the blocks themselves, this method is no longer reliable
Obsolete
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!