Conversation Trigger Service
Description
Evaluates registered conversation trigger sources to determine when agent-to-agent conversations should start. For each potential initiator, it checks the trigger profile (sense, requirements, cooldowns, probability) and starts conversations through the orchestrator when all conditions are met.
Evaluation is not per frame. ConversationTriggerDriver calls Evaluate() on an interval taken from the conversation trigger settings, with jitter so sources do not all fire on the same tick. See Conversation Triggers.
Interface
| Type |
|---|
| IConversationTriggerService |
The registered implementation is ConversationTriggerEvaluator. The interface exposes only Register and Unregister; Evaluate and DebugState are on the concrete class.
Inherits
Interface Methods
| Name | Parameters | Return Type | Description |
|---|
| Register | ConversationTriggerSource source | void | Registers a trigger source for periodic evaluation. |
| Unregister | ConversationTriggerSource source | void | Removes a trigger source from evaluation. |
ConversationTriggerEvaluator Members
| Name | Parameters | Return Type | Description |
|---|
| Evaluate | N/A | void | Runs one evaluation pass across all registered trigger sources. |
| DebugState | N/A | TriggerDebugState | Property. Snapshot of the last pass, used by the debug overlay. |