YaDialogStateListener¶
DEPRECATED
DialogStateListener listens to dialogue states of speakers.Functions¶
void OnEnterDialogState(function callback<YaEntity, YaDialogState>)¶
Fired when entering a conversation
callbackA callback with characters in the conversation and dialogue informationcharacterEntityThe character entitystateInfoIncluding dialogue state and dialogue data
void OnExitDialogState(function callback<YaEntity, YaDialogState>)¶
Fired when the conversation is interrupted
callbackA callback with characters in the conversation and dialogue informationcharacterEntityThe character entitystateInfoIncluding dialogue state and dialogue data
void OnDialogStateEnds(function callback<YaEntity, YaDialogState>)¶
SERVER ONLY
Fired when the conversation is finished
callbackA callback with characters in the conversation and dialogue informationcharacterEntityThe character entitystateInfoIncluding dialogue state and dialogue data