This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
Sandbox.ModAPI.Ingame.IMyGridTerminalSystem
Morten Aune Lyrstad edited this page Jul 30, 2021
·
46 revisions
← Index ← Namespace Index
public interface IMyGridTerminalSystemNamespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
| Member | Description |
|---|---|
| GetBlocks(List) | Fills the provided list with all the blocks reachable by this grid terminal system. This means all blocks on the same grid, or connected via rotors, pistons or connectors. |
| GetBlockGroups(List, Func) | Fills the provided list with the block groups reachable by this grid terminal system. |
| GetBlocksOfType(List, Func) | |
| GetBlocksOfType(List, Func) | |
| SearchBlocksOfName(string, List, Func) | 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. |
| GetBlockWithName(string) | Returns the first block found with the given name. Will returnnullif no block with that name can be found. |
| GetBlockGroupWithName(string) | Returns the first block group found with the given name. Will returnnullif no block group with that name can be found. |
| GetBlockWithId(long) | Attempts to retrieve the block with the given entity ID. Will returnnullif no block can be found. |
| CanAccess(IMyTerminalBlock, MyTerminalAccessScope) | Checks if the grid terminal system can still access the given IMyTerminalBlock . A block is no longer accessible if it's destroyed, detached, it's ownership has changed or is otherwise disconnected from this grid terminal system. |
| CanAccess(IMyCubeGrid, MyTerminalAccessScope) | Checks if the grid terminal system can still access the given IMyCubeGrid . A grid is no longer accessible if it's destroyed, detached, it's ownership has changed or is otherwise disconnected from this grid terminal system. |
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!