mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-27 17:00:14 +08:00
Fix docs
This commit is contained in:
parent
cea545d46b
commit
6912982949
@ -15,7 +15,7 @@ import net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl
|
|||||||
import net.mamoe.mirai.console.plugin.loader.FilePluginLoader
|
import net.mamoe.mirai.console.plugin.loader.FilePluginLoader
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 内建的 Jar (JVM) 插件加载器
|
* JVM 插件加载器
|
||||||
*/
|
*/
|
||||||
public interface JvmPluginLoader : CoroutineScope, FilePluginLoader<JvmPlugin, JvmPluginDescription> {
|
public interface JvmPluginLoader : CoroutineScope, FilePluginLoader<JvmPlugin, JvmPluginDescription> {
|
||||||
/**
|
/**
|
||||||
|
@ -61,10 +61,9 @@ public interface PluginLoader<P : Plugin, D : PluginDescription> {
|
|||||||
* @throws PluginLoadException 在加载插件遇到意料之中的错误时抛出 (如无法读取插件信息等).
|
* @throws PluginLoadException 在加载插件遇到意料之中的错误时抛出 (如无法读取插件信息等).
|
||||||
*
|
*
|
||||||
* @see PluginDescription 插件描述
|
* @see PluginDescription 插件描述
|
||||||
* @see getPluginDescription 无 receiver, 接受参数的版本.
|
|
||||||
*/
|
*/
|
||||||
@Throws(PluginLoadException::class)
|
@Throws(PluginLoadException::class)
|
||||||
public fun getPluginDescription(plugin: P): D // Java signature: `public D getDescription(P)`
|
public fun getPluginDescription(plugin: P): D
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 主动加载一个插件 (实例), 但不 [启用][enable] 它. 返回加载成功的主类实例
|
* 主动加载一个插件 (实例), 但不 [启用][enable] 它. 返回加载成功的主类实例
|
||||||
|
Loading…
Reference in New Issue
Block a user