simple-robot
3.0.0-RC.2
simbot-api
/
love.forte.simbot.bot
/
YamlBotVerifyInfoDecoder
/
Factory
Factory
object
Factory
:
StandardBotVerifyInfoDecoderFactory
<
YamlBotVerifyInfoDecoder.YamlBotVerifyInfoDecoderConfiguration
,
YamlBotVerifyInfoDecoder
>
Functions
Functions
create
Link copied to clipboard
fun
create
(
decoder
:
Yaml
)
:
YamlBotVerifyInfoDecoder
open
override
fun
create
(
configurator
:
YamlBotVerifyInfoDecoder.YamlBotVerifyInfoDecoderConfiguration
.
(
)
->
Unit
)
:
YamlBotVerifyInfoDecoder
提供配置,并构建一个目标解码器。
match
Link copied to clipboard
open
override
fun
match
(
verificationInfoName
:
String
)
:
Boolean
根据提供的名称验证是否符合此工厂目标decoder的要求。