mirai
2.16.0
common
mirai-core-api
/
net.mamoe.mirai.event
/
CancellableEvent
Cancellable
Event
interface
CancellableEvent
:
Event
可被取消的事件
Inheritors
BeforeImageUploadEvent
MessagePreSendEvent
BeforeShortVideoUploadEvent
Members
Functions
cancel
Link copied to clipboard
abstract
fun
cancel
(
)
取消这个事件. 事件需实现
CancellableEvent
接口才可以被取消
intercept
Link copied to clipboard
abstract
fun
intercept
(
)
拦截这个事件
Properties
is
Cancelled
Link copied to clipboard
abstract
val
isCancelled
:
Boolean
事件是否已被取消.
is
Intercepted
Link copied to clipboard
abstract
val
isIntercepted
:
Boolean
事件是否已被拦截.