CommandArgumentContextBuilder
Functions
Link copied to clipboard
infix inline fun <T : Any> add(crossinline parser: CommandValueArgumentParser<*>.(s: String) -> T): CommandArgumentContextBuilder
infix inline fun <T : Any> add(crossinline parser: CommandValueArgumentParser<*>.(s: String, sender: CommandSender) -> T): CommandArgumentContextBuilder
添加一个指令解析器
Link copied to clipboard
open override fun addAll(index: Int, elements: Collection<CommandArgumentContext.ParserPair<*>>): Boolean
Link copied to clipboard
完成构建, 得到 CommandArgumentContext
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun listIterator(index: Int): MutableListIterator<CommandArgumentContext.ParserPair<*>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open operator override fun set(index: Int, element: CommandArgumentContext.ParserPair<*>): CommandArgumentContext.ParserPair<*>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): MutableList<CommandArgumentContext.ParserPair<*>>
Link copied to clipboard
Link copied to clipboard
infix fun <T : Any> Class<T>.with(parser: CommandValueArgumentParser<T>): CommandArgumentContextBuilder
添加一个指令解析器.
infix inline fun <T : Any> KClass<T>.with(crossinline parser: CommandValueArgumentParser<T>.(s: String) -> T): CommandArgumentContextBuilder
infix inline fun <T : Any> KClass<T>.with(crossinline parser: CommandValueArgumentParser<T>.(s: String, sender: CommandSender) -> T): CommandArgumentContextBuilder
infix inline fun <T : Any> KClass<T>.with(parser: CommandValueArgumentParser<T>): CommandArgumentContextBuilder
添加一个指令解析器