类 PermissionAttachmentInfo
java.lang.Object
org.bukkit.permissions.PermissionAttachmentInfo
保存关于权限以及提供该权限的
PermissionAttachment的信息-
构造器概要
构造器构造器说明PermissionAttachmentInfo(@NotNull Permissible permissible, @NotNull String permission, @Nullable PermissionAttachment attachment, boolean value) -
方法概要
-
构造器详细资料
-
PermissionAttachmentInfo
public PermissionAttachmentInfo(@NotNull @NotNull Permissible permissible, @NotNull @NotNull String permission, @Nullable @Nullable PermissionAttachment attachment, boolean value)
-
-
方法详细资料
-
getPermissible
获取此权限附加到的可权限对象.原文: Gets the permissible this is attached to
- 返回:
- 此权限所属的Permissible
-
getPermission
获取被设置的权限.原文: Gets the permission being set
- 返回:
- 权限名称
-
getAttachment
获取提供此权限的附件. 对于默认权限(通常是父权限)可能为null.原文: Gets the attachment providing this permission. This may be null for default permissions (usually parent permissions).
- 返回:
- 附件
-
getValue
public boolean getValue()获取此权限的值.原文: Gets the value of this permission
- 返回:
- 权限的值
-