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

Sandbox.ModAPI.Ingame.IMyGridTerminalSystem.CanAccess

Malware edited this page Dec 13, 2025 · 5 revisions

DEPRECATION NOTICE

This API documentation is out of date and no longer maintained.

Please visit the new documentation at: https://malforge.github.io/spaceengineers/pbapi

IndexNamespace IndexIMyGridTerminalSystem

Summary

public bool CanAccess(IMyTerminalBlock block, MyTerminalAccessScope scope = MyTerminalAccessScope.All)

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.

Returns

bool

Parameters

Summary

public bool CanAccess(IMyCubeGrid grid, MyTerminalAccessScope scope = MyTerminalAccessScope.All)

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.

Returns

bool

False if grid isnull, closed or you can't access that grid

Parameters

Clone this wiki locally