Skip to content

Base Events

Event

Event(engine: Engine)

Base event implementation for wame plugins.

engine property

engine: Engine

The engine that is handling this plugin and dispatched this event.

CancellableEvent

CancellableEvent(engine: Engine)

Bases: Event

Base cancellable event implementation for wame plugins.

is_cancelled property

is_cancelled: bool

Check if this event has already been cancelled.

engine property

engine: Engine

The engine that is handling this plugin and dispatched this event.

cancel

cancel() -> None

Cancel this event from being further handled.