Crate overlord_event_system

Source

Re-exports§

pub use behaviors::BehaviorRegistry;
pub use behaviors::quests::progress::ConditionalProgress;

Modules§

attributes
behaviors
The name-addressed registry of native behavior functions — every config script slot dispatches to a function registered here.
bundles
cases
entities
event
fight
Deterministic, bounded fight simulation engine.
gacha
game_config_helpers
logic
mechanics
modules).
party
quests
state

Structs§

EventHandleResult
EventMeta
Deterministic metadata for the current event execution.
GameRng
Re-exported so callers of cases::try_finalize_item can supply its RNG without depending on event_system directly.
Pure
EventHandler adapter over a PureLogic. Nothing persists, and the events compute_fields derives from a state change are prepended to the ones the logic emitted, so a derived event is processed before the children of the event that caused it.
Seed
SystemConfig

Constants§

TICKER_UNIT_DURATION_MS

Traits§

EventHandler
EventHandlerContext
PureLogic
Synchronous logic with no context of its own. Implement this once and Pure turns it into an EventHandler whose Context = (), which the synchronous System::run driver accepts — so tests and offline simulators run the shipping logic without a database.

Functions§

new_system

Type Aliases§

LogicalTimestamp
PureEventHandler
DB-free handler over the pure game logic: Pure is the EventHandler half, OverlordLogic the logic. Used by tests and simulations through the synchronous System::run. logic_mut reaches the logic, so a caller can arm the fight seed of a precalculated PvP fight before replaying it (see OverlordLogic::arm_fight_seed).
System