Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Sandbox.ModAPI.Ingame.IMyGridTerminalSystem.SearchBlocksOfName

Morten Aune Lyrstad edited this page Jul 30, 2021 · 30 revisions

IndexNamespace IndexIMyGridTerminalSystem

Summary

public void SearchBlocksOfName(string name, List<Sandbox.ModAPI.Ingame.IMyTerminalBlock> blocks, Func<Sandbox.ModAPI.Ingame.IMyTerminalBlock, System.Boolean> collect)

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. The blocks must contain the given name in their name.

Parameters

Clone this wiki locally