Sandbox.ModAPI.Ingame.IMyTerminalBlock.HasPlayerAccess - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← IMyTerminalBlock
public bool HasPlayerAccess(long playerId, MyRelationsBetweenPlayerAndBlock defaultNoUser = MyRelationsBetweenPlayerAndBlock.NoOwnership)
Returns if local player can use block. It is also checking for admin access.
Can player access block or not
- long playerId
- MyRelationsBetweenPlayerAndBlock defaultNoUser