Skip to main content

collect_interaction_point

Function collect_interaction_point 

Source
pub fn collect_interaction_point(
    results: ResMut<'_, InteractionPointResults>,
    agents: Query<'_, '_, (&'static mut AgentState, &'static mut ContextWindow, &'static AgentBlueprint, &'static StageCursor, Option<&'static InteractionPointCursor>, Option<&'static InteractionPointRounds>, Option<&'static mut StageIoBuffer>), With<AwaitingInteractionPoint>>,
    commands: Commands<'_, '_>,
)
Expand description

Collect: apply each resolved interaction-point outcome - approve advances (or transitions when all points are done), abort cancels, a directive injects the directive and re-infers in-stage, an edit injects the edited text and re-presents; both revision paths are bounded by MAX_REVISION_ROUNDS.