Expand description
Event handling types.
Re-exports§
pub use update::EventUpdates;
Structs§
- Stores the state for an
EventReaderorEventMutator. - An
EventIduniquely identifies an event stored in a specificWorld. - An iterator that yields any unread events from an
EventReaderorEventCursor. - An iterator that yields any unread events (and their IDs) from an
EventReaderorEventCursor. - An iterator that yields any unread events from an
EventMutatororEventCursor. - An iterator that yields any unread events (and their IDs) from an
EventMutatororEventCursor. - A parallel iterator over
Events. - Mutably reads events of type
Tkeeping track of which events have already been read by each system allowing multiple systems to read the same events. Ideal for chains of systems that all want to modify the same events. - A parallel iterator over
Events. - Reads events of type
Tin order and tracks which events have already been read. - A registry of all of the
Eventsin theWorld, used byevent_update_systemto update all of the events. - Sends events of type
T. - An event collection that represents the events that occurred within the last two
Events::updatecalls. Events can be written to using anEventWriterand are typically cheaply read using anEventReader. - A command to send an arbitrary
Event, used byCommands::send_event.
Enums§
- Controls whether or not the events in an
EventRegistryshould be updated.
Traits§
- Something that “happens” and might be read / observed by app logic.
Functions§
- A run condition for
event_update_system. - A system that calls
Events::updateon all registeredEventsin the world. - Signals the
event_update_systemto run afterFixedUpdatesystems.