Sandbox.ModAPI.Ingame.IMyGridTerminalSystem.CanAccess - bimbam2103/space_engineers GitHub Wiki

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

⚠️ **GitHub.com Fallback** ⚠️