Skip to content

Latest commit

 

History

History
106 lines (106 loc) · 5.9 KB

cn.nukkit.permission.PermissibleBase.md

File metadata and controls

106 lines (106 loc) · 5.9 KB
    • 构造函数一览

      构造函数 
      构造函数描述
      PermissibleBase(ServerOperator opable) 
    • 成员函数一览

      All Methods Instance Methods Concrete Methods 
      修饰符和类 成员函数描述
      PermissionAttachment addAttachment(Plugin plugin) 
      PermissionAttachment addAttachment(Plugin plugin, String name) 
      PermissionAttachment addAttachment(Plugin plugin, String name, Boolean value) 
      void clearPermissions() 
      Map<String,PermissionAttachmentInfo> getEffectivePermissions() 
      boolean hasPermission(Permission permission) 
      boolean hasPermission(String name) 
      boolean isOp()
      返回这个对象是不是服务器管理员。
      Returns if this object is an operator.
      boolean isPermissionSet(Permission permission) 
      boolean isPermissionSet(String name) 
      void recalculatePermissions() 
      void removeAttachment(PermissionAttachment attachment) 
      void setOp(boolean value)
      把这个对象设置成服务器管理员。
      Sets this object to be an operator or not to be.
      • 继承自类 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait