Uses of Class
top.focess.qq.api.command.CommandResult
-
Packages that use CommandResult Package Description top.focess.qq.api.command top.focess.qq.api.event.command -
-
Uses of CommandResult in top.focess.qq.api.command
Methods in top.focess.qq.api.command that return CommandResult Modifier and Type Method Description CommandResultCommand. execute(CommandSender sender, String[] args, IOHandler ioHandler)Execute the command with special argumentsCommandResultCommandExecutor. execute(CommandSender sender, DataCollection dataCollection, IOHandler ioHandler)Used to execute the command under certain conditionsstatic CommandResultCommandResult. valueOf(String name)Returns the enum constant of this type with the specified name.static CommandResult[]CommandResult. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in top.focess.qq.api.command that return types with arguments of type CommandResult Modifier and Type Method Description static Future<CommandResult>CommandLine. exec(String command)Execute command usingCommandSender.CONSOLEstatic Future<CommandResult>CommandLine. exec(CommandSender sender, String command)Execute command with senderstatic Future<CommandResult>CommandLine. exec(CommandSender sender, String command, IOHandler ioHandler)Execute command with sender executing and ioHandler receivingMethods in top.focess.qq.api.command with parameters of type CommandResult Modifier and Type Method Description Command.ExecutorCommand.Executor. addCommandResultExecutor(CommandResult result, CommandResultExecutor executor)Set the executor of the special CommandResult after executing this ExecutorvoidCommandResultExecutor. execute(CommandResult commandResult)Used to have response to CommandResult after executing a special CommandExecutor -
Uses of CommandResult in top.focess.qq.api.event.command
Methods in top.focess.qq.api.event.command that return CommandResult Modifier and Type Method Description CommandResultCommandExecutedEvent. getResult()Constructors in top.focess.qq.api.event.command with parameters of type CommandResult Constructor Description CommandExecutedEvent(Command.Executor executor, String[] args, IOHandler ioHandler, CommandSender sender, CommandResult result)Constructs a CommandExecutedEvent
-