Package appeng.api.networking.security
Interface ISecurityProvider
- All Superinterfaces:
IGridNodeService
Implemented on Security Terminal to interface with security service.
-
Method Summary
Modifier and TypeMethodDescriptionintgetOwner()longused to represent the security key for the network, should be based on a unique timestamp.booleanvoidreadPermissions(Map<Integer, EnumSet<SecurityPermissions>> playerPerms) Push permission data into security service.
-
Method Details
-
getSecurityKey
long getSecurityKey()used to represent the security key for the network, should be based on a unique timestamp.- Returns:
- unique key.
-
readPermissions
Push permission data into security service.- Parameters:
playerPerms- player permissions
-
isSecurityEnabled
boolean isSecurityEnabled()- Returns:
- is security on or off?
-
getOwner
int getOwner()- Returns:
- player ID for who placed the security provider.
-