少年修仙传客户端代码仓库
client_Wu Xijin
2018-11-23 e5a72da1292655e529f598c7b1f5a5d5ce4777f3
4747 【前端】【1.3】修改自动进入封魔坛的规则。
6个文件已修改
27 ■■■■■ 已修改文件
System/FairyAu/FairyAuTaskWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FindPrecious/FindPreciousBossRebornBehaviour.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/CoinTaskWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/FlyingShoesTask.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/PlayerTaskDatas.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/TaskAllocation.cs 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairyAu/FairyAuTaskWin.cs
@@ -203,7 +203,7 @@
            WindowCenter.Instance.CloseImmediately<FairyAuTaskWin>();
            WindowCenter.Instance.Open<MainInterfaceWin>();
            ObjectiveText.ExcuteHref();
            TaskAllocation.Instance.TaskTime = DateTime.Now;
            TaskAllocation.Instance.TaskTime =TimeUtility.ServerNow;
        }
        void CloseButton()//关闭按钮
System/FindPrecious/FindPreciousBossRebornBehaviour.cs
@@ -209,6 +209,11 @@
                return false;
            }
            if ((TaskAllocation.Instance.TaskTime - TimeUtility.ServerNow).TotalSeconds < 60)
            {
                return false;
            }
            var grabBossLine = 0;
            ModelCenter.Instance.GetModel<FairyGrabBossModel>().TryGetFairyGrabBossLine(out grabBossLine);
            if (grabBossLine != 0 && PlayerDatas.Instance.baseData.FBID == grabBossLine)
System/MainInterfacePanel/CoinTaskWin.cs
@@ -282,7 +282,7 @@
        void Forward()
        {
            _Text_TaskTarget.ExcuteHref();
            TaskAllocation.Instance.TaskTime = DateTime.Now;
            TaskAllocation.Instance.TaskTime = TimeUtility.ServerNow;
            WindowCenter.Instance.CloseImmediately<TaskWin>();
            WindowCenter.Instance.Open<MainInterfaceWin>();
        }
System/MainInterfacePanel/FlyingShoesTask.cs
@@ -169,7 +169,7 @@
                    {
                        HeroAIRecorder.ClearRecord();
                        ContentText.ExcuteHref();
                        TaskAllocation.Instance.TaskTime = DateTime.Now;
                        TaskAllocation.Instance.TaskTime = TimeUtility.ServerNow;
                        OpenPanel(Task_ID);
                    }
                   
@@ -283,14 +283,14 @@
            if (ModelCenter.Instance.GetModel<VipModel>().GetVipPrivilegeCnt(VipPrivilegeType.FreeTransfer) > 0)
            {
                HeroAIRecorder.ClearRecord();
                TaskAllocation.Instance.TaskTime= DateTime.Now;
                TaskAllocation.Instance.TaskTime= TimeUtility.ServerNow;
                m_ContentText.ExcuteHref(1);
                return;
            }
            if (itemNumber > 0)
            {
                HeroAIRecorder.ClearRecord();
                TaskAllocation.Instance.TaskTime = DateTime.Now;
                TaskAllocation.Instance.TaskTime = TimeUtility.ServerNow;
                m_ContentText.ExcuteHref(1);
            }
            else
@@ -301,7 +301,7 @@
                    if (NeedMoney >= 1)
                    {
                        HeroAIRecorder.ClearRecord();
                        TaskAllocation.Instance.TaskTime = DateTime.Now;
                        TaskAllocation.Instance.TaskTime = TimeUtility.ServerNow;
                        m_ContentText.ExcuteHref(1);
                    }
                    else
System/MainInterfacePanel/PlayerTaskDatas.cs
@@ -1581,7 +1581,7 @@
            string strTask = TaskAllocation.Instance.GetTaskInfo(Config.Instance.Get<TASKINFOConfig>(_strTest).show_writing, _taskID);
            HrefAnalysis.Inst.ExcuteHrefEvent(strTask);
            DropItemManager.StopMissionPickup = false;
            TaskAllocation.Instance.TaskTime = DateTime.Now;
            TaskAllocation.Instance.TaskTime = TimeUtility.ServerNow;
        }
    }
}
System/MainInterfacePanel/TaskAllocation.cs
@@ -155,11 +155,9 @@
                });
            }
        }
        public DateTime TaskTime
        {
            get;
            set;
        }
        public DateTime TaskTime = DateTime.Now;
    }
}