-
Notifications
You must be signed in to change notification settings - Fork 126
Sandbox.ModAPI.Ingame.IMyGridTerminalSystem.CanAccess
← 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
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!