-
Notifications
You must be signed in to change notification settings - Fork 126
Sandbox.ModAPI.Ingame.MyTerminalAccessScope
← Index ← Namespace Index
public enum MyTerminalAccessScope
Determines how CanAccess(IMyTerminalBlock, MyTerminalAccessScope = MyTerminalAccessScope.All) limits its access check.
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
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.
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!