update
This commit is contained in:
@@ -44,6 +44,9 @@ export class ChatPanel extends li_BaseView implements IChatPanelCallback {
|
||||
@property(Label)
|
||||
girlName: Label = null;
|
||||
|
||||
@property(Label)
|
||||
chatTime: Label = null;
|
||||
|
||||
// @property(Sprite)
|
||||
// girlImg: Sprite = null;
|
||||
|
||||
@@ -291,6 +294,9 @@ export class ChatPanel extends li_BaseView implements IChatPanelCallback {
|
||||
const girlData = DataManager.I.getDataById<GirlData>(DataId.Girl);
|
||||
let triggerId = girlData.getTriggerGrilPhotoId(this.categoryId, this.id);
|
||||
|
||||
const count = girlData.getChatRemainCount(this.categoryId, this.id);
|
||||
this.chatTime.string = count + LanguageUtils.getText("chatpanel.times");
|
||||
|
||||
if (triggerId == 0) return;
|
||||
|
||||
logger.log("Trigger pop up Image id:" + this.id + "--" + triggerId);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
+1
-1
Submodule xchat_cfg updated: cee552a128...a6d2828704
Reference in New Issue
Block a user