Beispiel #1
0
        // Token: 0x0600CEB6 RID: 52918 RVA: 0x0038D460 File Offset: 0x0038B660
        private void __callDele_m_onGotoGetPathAction(GetPathData arg1, NeedGoods arg2)
        {
            Action <GetPathData, NeedGoods> onGotoGetPathAction = this.m_onGotoGetPathAction;

            if (onGotoGetPathAction != null)
            {
                onGotoGetPathAction(arg1, arg2);
            }
        }
 // Token: 0x0600FF93 RID: 65427 RVA: 0x004310CC File Offset: 0x0042F2CC
 private void EquipmentForge_OnGotoGetPath(GetPathData getPath, NeedGoods needGoods = null)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_EquipmentForge_OnGotoGetPathGetPathDataNeedGoods_hotfix != null)
     {
         this.m_EquipmentForge_OnGotoGetPathGetPathDataNeedGoods_hotfix.call(new object[]
         {
             this,
             getPath,
             needGoods
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     base.Pause();
     WorldUITask.StartGetPathTargetUITask(getPath, this.m_currIntent, needGoods);
 }
Beispiel #3
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;
            }
        }
Beispiel #4
0
 // Token: 0x06015523 RID: 87331 RVA: 0x00569538 File Offset: 0x00567738
 public LuaExportHelper(NeedGoods owner)
 {
     this.m_owner = owner;
 }
Beispiel #5
0
 // Token: 0x0600CED3 RID: 52947 RVA: 0x0038D850 File Offset: 0x0038BA50
 public void __clearDele_m_onGotoGetPathAction(GetPathData arg1, NeedGoods arg2)
 {
     this.m_owner.__clearDele_m_onGotoGetPathAction(arg1, arg2);
 }
Beispiel #6
0
 // Token: 0x0600CEB7 RID: 52919 RVA: 0x0038D484 File Offset: 0x0038B684
 private void __clearDele_m_onGotoGetPathAction(GetPathData arg1, NeedGoods arg2)
 {
     this.m_onGotoGetPathAction = null;
 }
 // Token: 0x0600FFEA RID: 65514 RVA: 0x00431BD0 File Offset: 0x0042FDD0
 public void EquipmentForge_OnGotoGetPath(GetPathData getPath, NeedGoods needGoods)
 {
     this.m_owner.EquipmentForge_OnGotoGetPath(getPath, needGoods);
 }