mirai
2.16.0
jvm
mirai-console
/
net.mamoe.mirai.console.plugin.center
/
PluginCenter
/
downloadPlugin
download
Plugin
abstract
suspend
fun
<
T
:
Any
>
T
.
downloadPlugin
(
name
:
String
,
progressListener
:
T
.
(
Float
)
->
Unit
)
:
File
open
suspend
fun
downloadPlugin
(
name
:
String
,
progressListener
:
PluginCenter
.
(
Float
)
->
Unit
)
:
File