Sandbox.ModAPI.Ingame.IMyGridTerminalSystem.SearchBlocksOfName - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← IMyGridTerminalSystem
public void SearchBlocksOfName(string name, List<IMyTerminalBlock> blocks, Func<IMyTerminalBlock, bool> collect = null)
Fills the provided list with the blocks reachable by this grid terminal system. This means all blocks on the same grid, or connected via rotors, pistons or connectors.
- string name
- List<IMyTerminalBlock> blocks
- Func<IMyTerminalBlock, bool> collect