Exemple #1
0
 public void OnClickReward()
 {
     PopupRankingReward.RankingRewardInfo info = new PopupRankingReward.RankingRewardInfo();
     info.title       = Localization.Get("WorldBossRankingRewardTitle");
     info.description = Localization.Get("WorldBossRankingRewardDescription");
     info.token_type  = pe_GoodsType.token_raid;
     info.ranking     = Info != null ? Info.rank : 0;
     info.data        = WorldBossRewardDataManager.Instance.GetList();
     Popup.Instance.Show(ePopupMode.RankingReward, info);
 }
Exemple #2
0
 public void OnClickReward()
 {
     PopupRankingReward.RankingRewardInfo info = new PopupRankingReward.RankingRewardInfo();
     info.title       = Localization.Get("PVPRankingRewardTitle");
     info.description = Localization.Get("PVPRankingRewardDescription");
     info.token_type  = pe_GoodsType.token_arena;
     info.ranking     = m_MyPvpInfo != null ? m_MyPvpInfo.rank : 0;
     info.data        = PvpRewardDataManager.Instance.GetList();
     Popup.Instance.Show(ePopupMode.RankingReward, info);
 }