Module interaction

Source
Expand description

Hold interactions bound to a specific actor/target pair with explicit interruption.

Query Interaction::eligibility for prompts without changing the hold. On each actual simulation tick, supply current conditions to Interaction::step_checked; only its completed result grants a reward or accepted-event feedback. Hosts remain responsible for authoritative range, visibility and permission checks. These rules read no platform state or clock.

Structs§

Interaction
InteractionInput
A host-supplied snapshot of the conditions for one actor/target pair.
InteractionOutcome
Result of one checked simulation step; no events are stored internally.

Enums§

InteractionInterruption
Why an unfinished hold was discarded on this tick.
InteractionRejection
The first failing gate reported by Interaction::eligibility.