Sandbox.ModAPI.Ingame.IMyTerminalBlock.HasLocalPlayerAccess - bimbam2103/space_engineers GitHub Wiki

IndexNamespace IndexIMyTerminalBlock

Summary

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

Returns

bool

Can player access this block or not. (Result of HasPlayerAccess(long, MyRelationsBetweenPlayerAndBlock = MyRelationsBetweenPlayerAndBlock.NoOwnership) function call)

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