toggle menu
Simple Robot
3.3.0
jvm
switch theme
search in API
simboot-api
/
love.forte.simboot.listener
/
FunctionalEventListener
Functional
Event
Listener
abstract
class
FunctionalEventListener
<
R
>
:
GenericBootEventListener
(
source
)
基于函数体
KFunction
的监听函数执行器。
Author
ForteScarlet
Inheritors
FunctionalBindableEventListener
Members
Constructors
Functional
Event
Listener
Link copied to clipboard
constructor
(
)
Properties
caller
Link copied to clipboard
protected
abstract
val
caller
:
KFunction
<
R
>
Functions
get
Attribute
Link copied to clipboard
abstract
override
fun
<
T
:
Any
>
getAttribute
(
attribute
:
Attribute
<
T
>
)
:
T
?
invoke
Link copied to clipboard
abstract
suspend operator override
fun
invoke
(
context
:
EventListenerProcessingContext
)
:
EventResult
is
Target
Link copied to clipboard
abstract
override
fun
isTarget
(
eventType
:
Event.Key
<
*
>
)
:
Boolean
match
Link copied to clipboard
abstract
suspend override
fun
match
(
context
:
EventListenerProcessingContext
)
:
Boolean