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

Sandbox.ModAPI.Ingame.MyTerminalAccessScope

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

IndexNamespace Index

MyTerminalAccessScope Enum

public enum MyTerminalAccessScope

Determines how CanAccess(IMyTerminalBlock, MyTerminalAccessScope = MyTerminalAccessScope.All) limits its access check.

Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll

Fields

MyTerminalAccessScope All

Checks for access over the entire grid terminal system, no matter how the block is connected.

MyTerminalAccessScope Construct

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

Checks for access only for blocks on the same grid as the programmable block.

Clone this wiki locally