Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Sandbox.ModAPI.Ingame.IMyGridTerminalSystem.SearchBlocksOfName

Morten Aune Lyrstad edited this page Apr 16, 2022 · 29 revisions

IndexNamespace IndexIMyGridTerminalSystem

Summary

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.

Parameters

Clone this wiki locally