Package net.mamoe.mirai.console.command.resolve     
  Types
Link copied to clipboard
                Builtin implementation of CommandCallResolver
Link copied to clipboard
                指令解析和调用拦截器. 用于在指令各解析阶段拦截或转换调用.
Link copied to clipboard
                The resolver converting a CommandCall into ResolvedCommandCall based on registered []
Link copied to clipboard
                Link copied to clipboard
                拦截原因
Link copied to clipboard
                Link copied to clipboard
                The resolved CommandCall.
Link copied to clipboard
                class ResolvedCommandCallImpl(    val caller: CommandSender,     val callee: Command,     val calleeSignature: CommandSignature,     val rawValueArguments: List<CommandValueArgument>,     context: CommandArgumentContext,     val originalMessage: MessageChain) : ResolvedCommandCall
Content copied to clipboard
Default implementation.
Link copied to clipboard
                data class ResolvedCommandValueArgument<T>(val parameter: CommandValueParameter<T>, val value: T)
Content copied to clipboard
Functions
Link copied to clipboard
                Invoke this resolved call.
Link copied to clipboard
                inline fun <R> CommandResolveResult.fold(onSuccess: (ResolvedCommandCall?) -> R, onFailure: (CommandExecuteResult.Failure) -> R): R
Content copied to clipboard
inline fun <T, R> InterceptResult<T>.fold(onIntercepted: (reason: InterceptedReason) -> R, otherwise: (T) -> R): R
Content copied to clipboard
Link copied to clipboard
                inline fun CommandResolveResult.getOrElse(onFailure: (CommandExecuteResult.Failure) -> ResolvedCommandCall?): ResolvedCommandCall
Content copied to clipboard
inline fun <T : R, R> InterceptResult<T>.getOrElse(onIntercepted: (reason: InterceptedReason) -> R): R
Content copied to clipboard
Link copied to clipboard
                创建一个 InterceptedReason