Example #1
0
 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();
 }
Example #2
0
 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);
 }