Skip to main content

Module events

Module events 

Source
Expand description

Simulation event bus and event types. Simulation event bus and typed event channels.

Modules§

log_format
Helpers for surfacing simulation events as log-style records.

Structs§

EventBus
Collects simulation events for consumers to drain.
EventChannel
A typed event channel for game-specific events.

Enums§

Event
Events emitted by the simulation during ticks.
EventCategory
Coarse-grained classification of an Event.
EventKind
Discriminant for Event — the unit-variant projection of the payload-carrying enum.
RouteInvalidReason
Reason a rider’s route was invalidated.
UpgradeField
Identifies which elevator parameter was changed in an Event::ElevatorUpgraded.
UpgradeValue
Old-or-new value carried by Event::ElevatorUpgraded.