Description
Manages agent mood states during conversations and fires events when mood changes occur. Works alongside NonVerbalEventingService for broader non-verbal signalling.
MoodService
Interface
Public Methods
| Name | Parameters | Return Type | Description |
|---|
| SetMood | IAgentService agent, string moodId | void | Sets the mood state for the given agent. |
| GetMood | IAgentService agent | MoodState | Returns the current mood state for the given agent. |
MoodEventingService
Fires events when mood changes occur during conversations.
Events
| Name | Type | Description |
|---|
| MoodChanged | DialogueMoodEvent | Raised when an agent's mood state changes. |
NonVerbalEventingService
Handles broader non-verbal signals such as gesture triggers and posture shifts.
Events
| Name | Type | Description |
|---|
| NonVerbalEvent | DialogueNonVerbalEvent | Raised when a non-verbal signal is triggered. |