// Token: 0x06009010 RID: 36880 RVA: 0x0029E55C File Offset: 0x0029C75C
        private void OnItemClick()
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnItemClick_hotfix != null)
            {
                this.m_OnItemClick_hotfix.call(new object[]
                {
                    this
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            switch (this.m_integralGoodsState)
            {
            case IntegralGoodsUIController.IntegralGoodsState.Normal:
                if (this.NoviceReward != null)
                {
                    if (this.NoviceReward.Reward.Count == 0)
                    {
                        return;
                    }
                    Goods goods = this.NoviceReward.Reward[0];
                    RewardGoodsDescUITask.StartUITask(this, goods.GoodsType, goods.Id, 0, null, true);
                }
                break;

            case IntegralGoodsUIController.IntegralGoodsState.CanGet:
                if (this.EventOnIntegralGoodsClick != null)
                {
                    this.EventOnIntegralGoodsClick(this);
                }
                break;
            }
        }
 // Token: 0x0601071C RID: 67356 RVA: 0x00448CF4 File Offset: 0x00446EF4
 private void OnClick()
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnClick_hotfix != null)
     {
         this.m_OnClick_hotfix.call(new object[]
         {
             this
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     RewardGoodsDescUITask.StartUITask(this, GoodsType.GoodsType_Hero, this.m_heroId, 0, null, true);
 }
 // Token: 0x0600D661 RID: 54881 RVA: 0x003A6C28 File Offset: 0x003A4E28
 private void OnClick()
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnClick_hotfix != null)
     {
         this.m_OnClick_hotfix.call(new object[]
         {
             this
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     if (this.m_goodsType == GoodsType.GoodsType_HeroSkin)
     {
         UITaskBase uitaskBase = UIUtility.FindUITaskWithType(typeof(HeroSkinChangeUITask));
         if (uitaskBase == null)
         {
             HeroSkinChangeUITask.StartUITask("ShowOneSkin", this.m_goodsId, null, null);
         }
         else if (uitaskBase.State != Task.TaskState.Running)
         {
             HeroSkinChangeUITask.StartUITask("ShowOneSkin", this.m_goodsId, null, null);
         }
     }
     else if (this.m_goodsType == GoodsType.GoodsType_SoldierSkin)
     {
         UITaskBase uitaskBase2 = UIUtility.FindUITaskWithType(typeof(StoreSoldierSkinDetailUITask));
         if (uitaskBase2 == null)
         {
             StoreSoldierSkinDetailUITask.StartSoldierSkinDetailPanel(this.m_goodsId, StoreSoldierSkinDetailUITask.StartTaskFromType.StartTaskFromGift, null);
         }
         else if (uitaskBase2.State != Task.TaskState.Running)
         {
             StoreSoldierSkinDetailUITask.StartSoldierSkinDetailPanel(this.m_goodsId, StoreSoldierSkinDetailUITask.StartTaskFromType.StartTaskFromGift, null);
         }
     }
     else if (this.m_goodsType == GoodsType.GoodsType_MonthCard)
     {
         MonthCardInfoUITask.StartUITask(this.m_goodsId, null);
     }
     else
     {
         GoodsType goodsType       = this.m_goodsType;
         int       goodsId         = this.m_goodsId;
         int       alignType       = this.m_alignType;
         bool      isNeedAutoClose = RewardGoodsUIController.m_isNeedAutoClose;
         RewardGoodsDescUITask.StartUITask(this, goodsType, goodsId, alignType, null, isNeedAutoClose);
     }
 }
 // Token: 0x06012FED RID: 77805 RVA: 0x004DA474 File Offset: 0x004D8674
 public void OnPointerClick(PointerEventData eventData)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnPointerClickPointerEventData_hotfix != null)
     {
         this.m_OnPointerClickPointerEventData_hotfix.call(new object[]
         {
             this,
             eventData
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     if (this.m_fragmentItemID > 0)
     {
         RewardGoodsDescUITask.StartUITask(this, GoodsType.GoodsType_Item, this.m_fragmentItemID, 0, null, true);
     }
     else
     {
         RewardGoodsDescUITask.StartUITask(this, this.m_goods.GoodsType, this.m_goods.Id, 0, null, true);
     }
 }
Exemple #5
0
 // Token: 0x0600F6A4 RID: 63140 RVA: 0x004136DC File Offset: 0x004118DC
 private void OnCurrencyClick()
 {
     RewardGoodsDescUITask.StartUITask(this, GoodsType.GoodsType_GuildMedal, 0, 0, null, true);
 }