ResolvedCommandCall
The resolved CommandCall.
Implementation details
ResolvedCommandCall should be immutable, meaning all of its properties must be pure and should be implemented as an immutable property, or delegated by a lazy initializer.
See also
Types
Properties
calleeSignature
Link copied to clipboard
The callee CommandSignature, specifically a sub command from CompositeCommand
caller
Link copied to clipboard
The CommandSender responsible to this call.
rawValueArguments
Link copied to clipboard
resolvedValueArguments
Link copied to clipboard
abstract val resolvedValueArguments: List<ResolvedCommandValueArgument<*>>
Content copied to clipboard
Resolved value arguments arranged mapping the CommandSignature.valueParameters by index.
Inheritors
ResolvedCommandCallImpl
Link copied to clipboard
Extensions
call
Link copied to clipboard
Invoke this resolved call.
intercepted
Link copied to clipboard
fun ResolvedCommandCall.intercepted(): InterceptResult<ResolvedCommandCall>
Content copied to clipboard
使用 CommandCallInterceptor 依次调用 interceptBeforeCall. 在第一个拦截时返回拦截原因, 在所有 CommandCallInterceptor 都处理完成后返回结果 ResolvedCommandCall