// Token: 0x0600FF92 RID: 65426 RVA: 0x00431024 File Offset: 0x0042F224
 private void EquipmentForgeUIController_OnEnhanceNeedItemClick(GoodsType goodsType, int goodsId, int needCount)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_EquipmentForgeUIController_OnEnhanceNeedItemClickGoodsTypeInt32Int32_hotfix != null)
     {
         this.m_EquipmentForgeUIController_OnEnhanceNeedItemClickGoodsTypeInt32Int32_hotfix.call(new object[]
         {
             this,
             goodsType,
             goodsId,
             needCount
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     GetPathUITask.StartUITask(goodsType, goodsId, new Action <GetPathData, NeedGoods>(this.EquipmentForge_OnGotoGetPath), needCount);
 }
Exemplo n.º 2
0
        // Token: 0x0600CE9A RID: 52890 RVA: 0x0038D154 File Offset: 0x0038B354
        private void GetPathUIController_OnGotoButtonClick(GetPathData getPathInfo)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_GetPathUIController_OnGotoButtonClickGetPathData_hotfix != null)
            {
                this.m_GetPathUIController_OnGotoButtonClickGetPathData_hotfix.call(new object[]
                {
                    this,
                    getPathInfo2
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            GetPathData   getPathInfo = getPathInfo2;
            GetPathUITask $this       = this;
            int?          num         = new int?(0);
            FadeStyle     style       = FadeStyle.Black;
            int           num2        = WorldUITask.CanGotoGetPath(getPathInfo, ref style);

            if (num2 <= 0)
            {
                num = new int?(num2);
                if (num == 0 || num == -402)
                {
                    CommonUIController.Instance.StartFadeOut(delegate
                    {
                        $this.Pause();
                        if ($this.m_onGotoGetPathAction != null)
                        {
                            NeedGoods arg = null;
                            if ($this.m_goodsNeedCount > 0)
                            {
                                arg = new NeedGoods($this.m_goodsType, $this.m_goodsID, $this.m_goodsNeedCount);
                            }
                            $this.m_onGotoGetPathAction(getPathInfo, arg);
                        }
                    }, style, -1f);
                }
                else
                {
                    CommonUIController.Instance.ShowErrorMessage(num.Value, 2f, null, true);
                }
                return;
            }
        }
Exemplo n.º 3
0
 // Token: 0x0600CEBA RID: 52922 RVA: 0x0038D6C0 File Offset: 0x0038B8C0
 public LuaExportHelper(GetPathUITask owner)
 {
     this.m_owner = owner;
 }