Interface PermissionReader
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A simple interface for getting the permissions of online players.
-
Method Summary
Modifier and TypeMethodDescriptionstatic PermissionReaderempty()Returns an empty permission reader.getPermission(mindustry.gen.Player player, String permission) Gets the permission of the given player.
-
Method Details
-
empty
Returns an empty permission reader. -
getPermission
Gets the permission of the given player.- Parameters:
player- the playerpermission- the permission- Returns:
- the permission
-