Skip to content

YaDialogStateListener

DialogStateListener listens to dialogue states of speakers.

Functions

void OnEnterDialogState(function callback<YaEntity, YaDialogState>)
Fired when entering a conversation
  • callback A callback with characters in the conversation and dialogue information
void OnExitDialogState(function callback<YaEntity, YaDialogState>)
Fired when the conversation is interrupted
  • callback A callback with characters in the conversation and dialogue information
void OnDialogStateEnds(function callback<YaEntity, YaDialogState>)
Fired when the conversation is finished
  • callback A callback with characters in the conversation and dialogue information