Sandbox.ModAPI.Ingame.IMyGridTerminalSystem.CanAccess - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← IMyGridTerminalSystem
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.
- IMyTerminalBlock block
- MyTerminalAccessScope scope
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.
False if grid isnull, closed or you can't access that grid
- IMyCubeGrid grid
- MyTerminalAccessScope scope