private void inspireCallBack(int expend) { UiManager.Instance.openDialogWindow <MessageLineWindow> ((win) => { win.dialogCloseUnlockUI = false; foreach (string s in inspireSample.getRewardDes()) { win.Initialize(s, false); } }); UserManager.Instance.self.guildFightPower -= expend; data.inspireNum++; initUI(); MaskWindow.UnlockUI(); }
private void wishCallBack(int expend) { UiManager.Instance.openDialogWindow <MessageLineWindow>((win) => { win.dialogCloseUnlockUI = false; foreach (string s in wishSample.getRewardDes()) { win.Initialize(s, false); } }); UserManager.Instance.self.guildFightPower -= expend; data.wishNum++; initializeInfo(this.data); (fatherWindow as GuildFightMainWindow).getFightInfo(); MaskWindow.UnlockUI(true); }