ResolvedCommandCallImpl

class ResolvedCommandCallImpl(val caller: CommandSender, val callee: Command, val calleeSignature: CommandSignature, val rawValueArguments: List<CommandValueArgument>, context: CommandArgumentContext, val originalMessage: MessageChain) : ResolvedCommandCall

Default implementation.

Constructors

Link copied to clipboard
constructor(caller: CommandSender, callee: Command, calleeSignature: CommandSignature, rawValueArguments: List<CommandValueArgument>, context: CommandArgumentContext, originalMessage: MessageChain)

Functions

Link copied to clipboard

Invoke this resolved call.

Link copied to clipboard

使用 CommandCallInterceptor 依次调用 interceptBeforeCall. 在第一个拦截时返回拦截原因, 在所有 CommandCallInterceptor 都处理完成后返回结果 ResolvedCommandCall

Properties

Link copied to clipboard
open override val callee: Command

The callee Command

Link copied to clipboard

The callee CommandSignature, specifically a sub command from CompositeCommand

Link copied to clipboard
open override val caller: CommandSender

The CommandSender responsible to this call.

Link copied to clipboard
open override val originalMessage: MessageChain
Link copied to clipboard

Original arguments

Link copied to clipboard

Resolved value arguments arranged mapping the CommandSignature.valueParameters by index.