void buySuccess(int type, int num) { UiManager.Instance.openDialogWindow <MessageLineWindow>((win) => { win.Initialize(LanguageConfigManager.Instance.getLanguage("activetyinfolw01")); }); chapter.setReBuyNum(chapter.getReBuyNum() + num); chapter.addNum(num); updateTimes(); }
void buySuccess(int type, int num) { UiManager.Instance.openDialogWindow <MessageLineWindow>((win) => { win.Initialize(LanguageConfigManager.Instance.getLanguage("activetyinfolw01")); }); chapter.setReBuyNum(chapter.getReBuyNum() + num); chapter.addNum(num); father = this.fatherWindow as ActivityChooseWindow; father.numLabel.text = LanguageConfigManager.Instance.getLanguage("s0146lw011") + ":" + (chapter.getNum() > 0 ? chapter.getNum() : 0);//刷新次数 }