少年修仙传客户端代码仓库
client_linchunjie
2019-04-20 944cf489b6ced61ff33cd92e197da9081a093277
3335 缥缈仙域
3个文件已修改
26 ■■■■■ 已修改文件
System/HazyRegion/HazyRegionEntrancePanel.cs 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/HazyRegion/HazyRegionIncidentBehaviour.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/HazyRegion/HazyRegionModel.cs 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/HazyRegion/HazyRegionEntrancePanel.cs
@@ -98,11 +98,23 @@
            var questState = dailyQuestModel.GetQuestState((int)DailyQuestType.HazyRegion);
            if (questState == DailyQuestModel.DailyQuestState.OutTime)
            {
                DailyQuestOpenTime dailyQuestOpenTime;
                if (dailyQuestModel.TryGetOpenTime((int)DailyQuestType.HazyRegion, out dailyQuestOpenTime))
                {
                    HourMinute hourMinute;
                    if (dailyQuestOpenTime.TryGetTodayNearestOpenTime(out hourMinute))
                    {
                        SysNotifyMgr.Instance.ShowTip("OpenHazyRegionError_1",
                            hourMinute.hourBegin.ToString("D2"),
                            hourMinute.hourEnd.ToString("D2"));
                    }
                }
                return;
            }
            if (!model.TryAddTimes())
            {
                SysNotifyMgr.Instance.ShowTip("OpenHazyAddTimesError_1");
                return;
            }
System/HazyRegion/HazyRegionIncidentBehaviour.cs
@@ -100,7 +100,7 @@
            m_Icon.SetSprite(config.PortraitID);
            m_Icon.SetNativeSize();
            m_Icon.material = m_SmoothMask.imageMaterials[0];
            m_ContainerCrossServer.gameObject.SetActive(config.crossServer == 1);
            m_ContainerCrossServer.gameObject.SetActive(!model.InFakeHazyRegion && config.crossServer == 1);
        }
        void DisplayItems()
System/HazyRegion/HazyRegionModel.cs
@@ -299,7 +299,17 @@
        {
            switch (error)
            {
                default:
                case 1:
                    SysNotifyMgr.Instance.ShowTip("CrossMap10");
                    break;
                case 2:
                    SysNotifyMgr.Instance.ShowTip("InDungeon_CantGo");
                    break;
                case 3:
                    SysNotifyMgr.Instance.ShowTip("EnterHazyIncidentError_3");
                    break;
                case 4:
                    SysNotifyMgr.Instance.ShowTip("EnterHazyIncidentError_4");
                    break;
            }
        }