mirai
2.10.0
mirai-console
/
net.mamoe.mirai.console.command.descriptor
/
ByteValueArgumentParser
Byte
Value
Argument
Parser
object
ByteValueArgumentParser
:
InternalCommandValueArgumentParserExtensions
<
Byte
>
Content copied to clipboard
使用
String.toByte
解析
Functions
Functions
parse
Link copied to clipboard
open
override
fun
parse
(
raw
:
String
,
sender
:
CommandSender
)
:
Byte
Content copied to clipboard
解析一个字符串为 T 类型参数
open
fun
parse
(
raw
:
MessageContent
,
sender
:
CommandSender
)
:
Byte
Content copied to clipboard
解析一个消息内容元素为
T
类型参数