mirai-core / net.mamoe.mirai.event / CancellableEvent

CancellableEvent

interface CancellableEvent

可被取消的事件

Properties

isCancelled

事件是否已取消.

abstract val isCancelled: Boolean

Functions

cancel

取消这个事件.

abstract fun cancel(): Unit

Inheritors

AbstractCancellableEvent

可被取消的事件的实现

abstract class AbstractCancellableEvent : Event, CancellableEvent