Handler

abstract class Handler(val parentListener: Listener, val sourceNullable: Boolean)

Generated within a Listener. Will handle events matching specified components on source/target/event entities.

Inheritors

Constructors

Link copied to clipboard
constructor(parentListener: Listener, sourceNullable: Boolean)

Functions

Link copied to clipboard
abstract fun handle(source: SourceScope?, target: TargetScope, event: EventScope)

Runs when a matching event is fired.

Link copied to clipboard
open fun processAndHandle(sourceScope: RawAccessorDataScope?, targetScope: RawAccessorDataScope, eventScope: RawAccessorDataScope)

Reads necessary data and iterates over combinations as appropriate, calling the handle function on each.

Properties

Link copied to clipboard
Link copied to clipboard