Interface PermissionProvider

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface PermissionProvider
  • Method Details

    • empty

      static PermissionProvider empty()
    • all

      static PermissionProvider all()
    • from

      static PermissionProvider from(mindustry.gen.Player player)
    • getPermission

      TriState getPermission(String permission)
      Returns the permission state of the given permission.
      Parameters:
      permission - the permission to check
      Returns:
      the permission state