- MVP架构重构聊天逻辑
- 优化聊天气泡体验 - 修复prompt bug - 实现聊天次数限制功能(未接服务端) - 实现情绪切视频功能
This commit is contained in:
@@ -379,6 +379,12 @@ export class EmotionAIService {
|
||||
// 更新并保存情绪状态
|
||||
this.setCurrentEmotion(roleId, newEmotion);
|
||||
|
||||
// 发送情绪更新完成事件
|
||||
Utils.sendInnerMsg(InnerMsgCode.Chat_EmotionUpdated, {
|
||||
roleId: roleId,
|
||||
emotion: newEmotion
|
||||
});
|
||||
|
||||
return newEmotion;
|
||||
} catch (error) {
|
||||
ErrorHandler.Instance.handleError(
|
||||
|
||||
Reference in New Issue
Block a user