using System; using System.Collections.Generic; using VRage.Collections; using VRage.Game.ModAPI.Ingame; using VRageMath; namespace Sandbox.ModAPI.Ingame { public interface IMyGridTerminalSystem { void GetBlocks(List blocks); void GetBlockGroups(List blockGroups, Func collect = null); void GetBlocksOfType(List blocks, Func collect = null) where T: class; void GetBlocksOfType(List blocks, Func collect = null) where T: class; void SearchBlocksOfName(string name, List blocks, Func collect = null); IMyTerminalBlock GetBlockWithName(string name); IMyBlockGroup GetBlockGroupWithName(string name); IMyTerminalBlock GetBlockWithId(long id); } }