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.MyTerminalAccessScope
Morten Aune Lyrstad edited this page Apr 16, 2022
·
7 revisions
← Index ← Namespace Index
public enum MyTerminalAccessScopeDetermines how CanAccess(IMyTerminalBlock, MyTerminalAccessScope = MyTerminalAccessScope.All) limits its access check.
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
| Member | Description |
|---|---|
| MyTerminalAccessScope All prohibited | Checks for access over the entire grid terminal system, no matter how the block is connected. |
| MyTerminalAccessScope Construct prohibited | Checks for access only within the current construct. This is any block connected with rotors or pistons or other mechanical devices, but not things like connectors. This will in most cases constitute your complete construct. Be aware that using merge blocks combines grids into one, so this function will not filter out grids connected that way. |
| MyTerminalAccessScope Grid prohibited | Checks for access only for blocks on the same grid as the programmable block. |
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!