Crate event_trigger_action_system

Source
Expand description

§Event Trigger Action System (ETAS)

The core type is CompiledTriggers, which provides functions to execute events and to receive actions.

Structs§

CompiledTrigger
A compiled trigger.
CompiledTriggerCondition
A compiled trigger condition.
CompiledTriggers
A compiled collection of triggers.
Trigger
A raw trigger.
TriggerHandle
A handle of a trigger.
Triggers
A raw collection of triggers.

Enums§

TriggerCondition
The (uncompiled) trigger conditions for events.

Traits§

TriggerAction
A trigger action.
TriggerEvent
A trigger event.
TriggerEventIdentifier
An identifier of a trigger.

Functions§

and
Constructs a trigger condition that triggers after all given conditions have triggered.
any_n
Constructs a trigger condition that triggers after the given amount of given trigger conditions have triggered.
eq
Constructs a trigger condition that triggers after an event has been received that is equal to the reference event.
event_count
Constructs a trigger condition that triggers after the given event has been received the given amount of times.
geq
Constructs a trigger condition that triggers after an event has been received that is greater than or equal to the reference event.
gt
Constructs a trigger condition that triggers after an event has been received that is greater than the reference event.
leq
Constructs a trigger condition that triggers after an event has been received that is less than or equal to the reference event.
lt
Constructs a trigger condition that triggers after an event has been received that is less than the reference event.
never
Constructs a trigger condition that never triggers.
none
Constructs a trigger condition that triggers immediately.
or
Constructs a trigger condition that triggers after any of the given conditions have triggered.
sequence
Constructs a trigger condition that triggers after all given conditions have triggered in sequence.