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