协议调试

This commit is contained in:
chen wei bo
2025-09-10 10:18:34 +08:00
parent 6c1f564f03
commit ce39270ebb
4 changed files with 41 additions and 20 deletions
@@ -176,24 +176,24 @@ export class GirlDetailPanel extends li_BaseView {
let resIds = girlData.getAllDisplayGrilPhotoId(this.category.toString(), this.id);
// 也立即尝试调整(以防已经加载完成)
this.adjustVideoScale();
this.refreshImgs(1, this.category, this.id, resIds);
this.refreshImgs(proto.cs.EnmResType.ERT_Image, this.category, this.id, resIds);
}
}
bindImgToggle() {
const girlData = DataManager.I.getDataById<GirlData>(DataId.Girl);
let resIds = girlData.getAllDisplayGrilPhotoId(this.category.toString(), this.id);
this.refreshImgs(1, this.category, this.id, resIds);
this.refreshImgs(proto.cs.EnmResType.ERT_Image, this.category, this.id, resIds);
}
bindVideoToggle() {
const girlData = DataManager.I.getDataById<GirlData>(DataId.Girl);
let resIds = girlData.getAllDisplayGrilVideoId(this.category.toString(), this.id);
this.refreshImgs(2, this.category, this.id, resIds);
this.refreshImgs(proto.cs.EnmResType.ERT_Video, this.category, this.id, resIds);
}
refreshImgs(
type: number,
type: proto.cs.EnmResType,
category: number,
id: number,
resIds: number[]