mirai
2.16.0
jvm
mirai-console
/
net.mamoe.mirai.console
/
MiraiConsoleImplementation
/
ConsoleDataScope
Console
Data
Scope
@
ConsoleFrontEndImplementation
@
NotStableForInheritance
interface
ConsoleDataScope
Mirai Console 内置的一些
PluginConfig
和
PluginData
的管理器.
Since
2.10.0-RC
Members
Members & Extensions
Types
Companion
Link copied to clipboard
@
ConsoleFrontEndImplementation
object
Companion
Functions
add
And
Reload
Config
Link copied to clipboard
abstract
fun
addAndReloadConfig
(
config
:
PluginConfig
)
find
Link copied to clipboard
abstract
fun
<
T
:
PluginData
>
find
(
type
:
KClass
<
T
>
)
:
T
?
find
Link copied to clipboard
inline
fun
<
T
:
PluginData
>
MiraiConsoleImplementation.ConsoleDataScope
.
find
(
)
:
T
?
get
Link copied to clipboard
open
fun
<
T
:
PluginData
>
get
(
type
:
KClass
<
T
>
)
:
T
get
Link copied to clipboard
inline
fun
<
T
:
PluginData
>
MiraiConsoleImplementation.ConsoleDataScope
.
get
(
)
:
T
reload
All
Link copied to clipboard
abstract
fun
reloadAll
(
)
Properties
config
Holder
Link copied to clipboard
@
ConsoleExperimentalApi
abstract
val
configHolder
:
AutoSavePluginDataHolder
data
Holder
Link copied to clipboard
@
ConsoleExperimentalApi
abstract
val
dataHolder
:
AutoSavePluginDataHolder