mirai
2.13.4
mirai-console
/
net.mamoe.mirai.console.command.descriptor
/
AbstractCommandValueArgumentParser
Abstract
Command
Value
Argument
Parser
abstract
class
AbstractCommandValueArgumentParser
<
T
:
Any
>
:
CommandValueArgumentParser
<
T
>
Content copied to clipboard
Types
Constructors
Functions
See also
Inheritors
See also
net.
mamoe.
mirai.
console.
command.
descriptor.
Command
Value
Argument
Parser
的基础实现.
Constructors
Abstract
Command
Value
Argument
Parser
Link copied to clipboard
fun
AbstractCommandValueArgumentParser
(
)
Content copied to clipboard
Types
Companion
Link copied to clipboard
object
Companion
Content copied to clipboard
Functions
parse
Link copied to clipboard
abstract
fun
parse
(
raw
:
String
,
sender
:
CommandSender
)
:
T
Content copied to clipboard
解析一个字符串为
T
类型参数
open
fun
parse
(
raw
:
MessageContent
,
sender
:
CommandSender
)
:
T
Content copied to clipboard
解析一个消息内容元素为
T
类型参数
Inheritors
MappingCommandValueArgumentParser
Link copied to clipboard