kiscord
0.6.0
kiscord-core
/
kiscord.builder
/
Plugin
Plugin
interface
Plugin
<
out
TConfig
:
Any
,
TPlugin
:
Any
,
in
TScope
:
PluginScope
>
(
source
)
Functions
Properties
Parameters
Parameters
TConfig
configuration type for the plugin
TPlugin
feature instance
TScope
target container for the plugin
Functions
after
Feature
Added
Link copied to clipboard
open
fun
afterFeatureAdded
(
builder
:
PluggableBuilder
<
TScope
>
)
before
Feature
Added
Link copied to clipboard
open
fun
beforeFeatureAdded
(
builder
:
PluggableBuilder
<
TScope
>
)
before
Scope
Created
Link copied to clipboard
open
fun
beforeScopeCreated
(
builder
:
PluggableBuilder
<
TScope
>
)
install
Link copied to clipboard
abstract
fun
install
(
scope
:
TScope
,
block
:
ConfigurationChain
<
TConfig
>
)
:
TPlugin
Properties
key
Link copied to clipboard
abstract
val
key
:
TypedAttribute
<
TPlugin
>