Sandbox.ModAPI.Ingame.IMyTerminalBlock.HasLocalPlayerAccess - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← IMyTerminalBlock
public bool HasLocalPlayerAccess()
Returns if local player can use block. Executes HasPlayerAccess(long, MyRelationsBetweenPlayerAndBlock = MyRelationsBetweenPlayerAndBlock.NoOwnership) with local player identityId. On Dedicated Server as identityId it is using 0 as playerId
Can player access this block or not. (Result of HasPlayerAccess(long, MyRelationsBetweenPlayerAndBlock = MyRelationsBetweenPlayerAndBlock.NoOwnership) function call)