Skip to content

YaDialogStateListener

Beta
DialogStateListener listens to dialogue states of speakers.

Functions

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