Uses of Class
top.focess.qq.api.command.CommandPermission
-
Packages that use CommandPermission Package Description top.focess.qq.api.bot.contact top.focess.qq.api.command -
-
Uses of CommandPermission in top.focess.qq.api.bot.contact
Methods in top.focess.qq.api.bot.contact that return CommandPermission Modifier and Type Method Description CommandPermissionMember. getPermission()Get the member's permission in group -
Uses of CommandPermission in top.focess.qq.api.command
Methods in top.focess.qq.api.command that return CommandPermission Modifier and Type Method Description CommandPermissionCommand. getPermission()@NonNull CommandPermissionCommandSender. getPermission()Get permissionstatic CommandPermissionCommandPermission. valueOf(String name)Returns the enum constant of this type with the specified name.static CommandPermission[]CommandPermission. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in top.focess.qq.api.command with parameters of type CommandPermission Modifier and Type Method Description booleanCommandPermission. hasPermission(CommandPermission permission)Indicate this permission is higher than the comparing permissionbooleanCommandSender. hasPermission(CommandPermission permission)Indicate this CommandSender owns the permissionCommand.ExecutorCommand.Executor. setPermission(CommandPermission permission)Set the executor Permission (Only if the CommandSender has the command that this executor belongs to and this executor's permissions, this executor runs)voidCommand. setPermission(CommandPermission permission)Set the default permission
-