Exemplo n.º 1
0
 private void ShowRewardDialog()
 {
     NGUITools.SetActiveSelf(this.rankUpEffect, false);
     NGUITools.SetActiveSelf(this.rankDownEffect, false);
     ClassSingleton <QuestData> .Instance.RespDataWD_DungeonResult = null;
     if (this.multiBattleData.BattleEndResponse == null || this.multiBattleData.BattleEndResponse.firstRankUpReward == null || this.multiBattleData.BattleEndResponse.firstRankUpReward.Length == 0)
     {
         this.ShowRewardDialog(0);
     }
     else
     {
         CMD_FirstClear cmd_FirstClear = GUIMain.ShowCommonDialog(new Action <int>(this.ShowRewardDialog), "CMD_PvPIncentive", null) as CMD_FirstClear;
         cmd_FirstClear.SetRankUpRewardTitle();
     }
 }
Exemplo n.º 2
0
 private void ShowRewardDialog(int i)
 {
     if (this.multiBattleData.BattleEndResponse == null || this.multiBattleData.BattleEndResponse.reward == null || this.multiBattleData.BattleEndResponse.reward.Length == 0)
     {
         this.GotoPvPTop(0);
     }
     else
     {
         CMD_FirstClear.isNormalReward = true;
         CMD_FirstClear cmd_FirstClear = GUIMain.ShowCommonDialog(new Action <int>(this.GotoPvPTop), "CMD_PvPIncentive", null) as CMD_FirstClear;
         if (this.multiBattleData.BattleResult == 1)
         {
             cmd_FirstClear.SetWinRewardTitle();
         }
         else
         {
             cmd_FirstClear.SetTitleHide();
         }
     }
 }