public void OnBuyActivityPayShopItemEvent(int activityID, APItemData data)
 {
     if (this.APSData == null)
     {
         return;
     }
     if (this.APSData.Base.ID == activityID)
     {
         this.mAPItemDataGrid.repositionNow = true;
     }
     base.StartCoroutine(this.ShowReward(data, this.APSData.Base.Name));
 }
Exemple #2
0
 private void OnBuyActivityPayShopItemEvent(int activityID, APItemData data)
 {
     if (data == null)
     {
         return;
     }
     if (this.mAPSInfo != null)
     {
         this.mAPSInfo.OnBuyActivityPayShopItemEvent(activityID, data);
     }
     for (int i = 0; i < this.mTabs.Count; i++)
     {
         GUIRewardCheckBtn gUIRewardCheckBtn = this.mTabs[i];
         if (gUIRewardCheckBtn.APSData != null && gUIRewardCheckBtn.APSData.Base.ID == activityID)
         {
             gUIRewardCheckBtn.IsShowMark = GUIActivityPayShopInfo.CanBuyRewardMark(gUIRewardCheckBtn.APSData);
         }
     }
 }
 private IEnumerator ShowReward(APItemData shopItem, string title)
 {
     return null;
     //GUIActivityPayShopInfo.<ShowReward>c__Iterator2C <ShowReward>c__Iterator2C = new GUIActivityPayShopInfo.<ShowReward>c__Iterator2C();
     //<ShowReward>c__Iterator2C.shopItem = shopItem;
     //<ShowReward>c__Iterator2C.title = title;
     //<ShowReward>c__Iterator2C.<$>shopItem = shopItem;
     //<ShowReward>c__Iterator2C.<$>title = title;
     //return <ShowReward>c__Iterator2C;
 }
Exemple #4
0
 public APItemDataEx(ActivityPayShopData aa, APItemData data)
 {
     this.APSD = aa;
     this.APData = data;
 }