CommandCallImpl

class CommandCallImpl(val caller: CommandSender, val calleeName: String, val valueArguments: List<CommandValueArgument>, val originalMessage: MessageChain) : CommandCall

Constructors

Link copied to clipboard
constructor(caller: CommandSender, calleeName: String, valueArguments: List<CommandValueArgument>, originalMessage: MessageChain)

Functions

Link copied to clipboard

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

Properties

Link copied to clipboard
open override val calleeName: String

One of callee Command's Command.allNames.

Link copied to clipboard
open override val caller: CommandSender

The CommandSender responsible to this call.

Link copied to clipboard
open override val originalMessage: MessageChain

Original message

Link copied to clipboard

Explicit value arguments parsed from raw MessageChain or implicit ones deduced by the CommandCallResolver.