Expand description
Types for creating and storing Observer
s
Structs§
- Collection of
ObserverRunner
forObserver
registered to a particular trigger targeted at a specific component. - Collection of
ObserverRunner
forObserver
registered to a particular trigger. - Emit a trigger for a dynamic component id. This is unsafe and must be verified manually.
- A description of what an
Observer
observes. - Contains
Observer
information. This defines how a given observer behaves. It is the “source of truth” for a given observer entity’s behavior. - Event trigger metadata for a given
Observer
, - Metadata for observers. Stores a cache mapping trigger ids to the registered observers.
- Type containing triggered
Event
information for a given run of anObserver
. This contains theEvent
data itself. If it was triggered for a specificEntity
, it includes that as well. It also contains event propagation information. SeeTrigger::propagate
for more information. - A
Command
that emits a given trigger for a given set of targets.
Traits§
- Represents a collection of targets for a specific
Trigger
of anEvent
. Targets can be of typeEntity
orComponentId
.
Type Aliases§
- Type for function that is run when an observer is triggered.