bool SwitchVideo(const char *uri);
// 切换头发贴图
void SwitchHair(const char *hairPath);
+ // 切换头发图标
+ void SwitchHairIcon(const char *hairIconPath);
+ // 停止头发图标
+ void StopHairIcon(void);
// 获取是否开启屏保模式
bool GetIsOpenScreenImageModel(void);
// 切换iconView图片接口
UIImageView *curFace{nullptr};
DialVideoView *videoPlayer_ = nullptr;
UILiteSurfaceView *surfaceView_ = nullptr;
+ UIImageView *hairIcon{nullptr};
ColorType colorKey_;
// 发型切换函数
bool SwitchHair(const char* hairShape, const char* hairColor);
+
+ // 头发图标切换函数
+ void HandleHairIconChange(const std::string& expression);
// 表情视频切换函数
bool SwitchExpressionVideo(const char* videoPath);
void HandleSleepModeStart(const char* theme, int is_intention_result);
void HandleSleepModeEnd();
void HandleBindAndUnbind(int is_bind);
+
+ // 处理故事响应消息的finished标志
+ void HandleStoryResponseFinished(bool finished);
+
+ // 处理对话响应消息的finished标志
+ void HandleDialogueResponseFinished(bool finished);
// 减低视频帧率
void LowFrequence();
// 恢复视频帧率
bool close_battery_flag = false; // 电量过低即将关机标志位
int downloadFileType = -1;
+
+ // 故事模式相关标志
+ bool m_storyModeFinished = false; // 故事模式是否已finished(收到finished=true)
+
+ // 对话模式相关标志
+ bool m_dialogueModeFinished = false; // 对话模式是否已finished(收到finished=true)
};
}