Package-level declarations
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
Default implementation.
Link 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
inline fun <T, R> InterceptResult<T>.fold(onIntercepted: (reason: InterceptedReason) -> R, otherwise: (call: T) -> R): R
Link copied to clipboard
inline fun CommandResolveResult.getOrElse(onFailure: (CommandExecuteResult.Failure) -> ResolvedCommandCall?): ResolvedCommandCall
inline fun <T : R, R> InterceptResult<T>.getOrElse(onIntercepted: (reason: InterceptedReason) -> R): R
Link copied to clipboard
创建一个 InterceptedReason