YaDialogStateListener¶
DEPRECATED
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 informationcharacterEntity
The character entitystateInfo
Including dialogue state and dialogue data
void OnExitDialogState(function callback<YaEntity, YaDialogState>)¶
Fired when the conversation is interrupted
callback
A callback with characters in the conversation and dialogue informationcharacterEntity
The character entitystateInfo
Including dialogue state and dialogue data
void OnDialogStateEnds(function callback<YaEntity, YaDialogState>)¶
SERVER ONLY
Fired when the conversation is finished
callback
A callback with characters in the conversation and dialogue informationcharacterEntity
The character entitystateInfo
Including dialogue state and dialogue data