少年修仙传客户端代码仓库
client_Hale
2019-02-21 3420a064d435197b08404aa3789d948905d5865d
Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
4个文件已修改
33 ■■■■■ 已修改文件
Core/GameEngine/Login/Launch.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/CrossServerOneVsOne/CrossServerOneVsOneModel.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/NewBieGuidance/NewBieCenter.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/WindowBase/WindowCenter.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Login/Launch.cs
@@ -284,7 +284,13 @@
            }
        }
#endif
#if UNITY_EDITOR
            if (!AssetSource.allFromEditor)
            {
                FileExtersion.DirectoryCopy(ResourcesPath.CONFIG_FODLER, ResourcesPath.Instance.StreamingAssetPath + "config");
                FileExtersion.DirectoryCopy(ResourcesPath.ResourcesOutPath + "BuiltIn", ResourcesPath.Instance.StreamingAssetPath + "builtin");
            }
#endif
            if (!firstLaunch)
            {
                done = true;
System/CrossServerOneVsOne/CrossServerOneVsOneModel.cs
@@ -73,6 +73,10 @@
        public void OnSwitchAccount()
        {
            IsMatching = false;
            if (clientMatchClock!=null )
            {
                clientMatchClock.Stop();
            }
        }
        public void OnPlayerLoginOk()
@@ -467,12 +471,13 @@
                    GameNetSystem.Instance.PushPackage(onMatchPackage, ServerType.Main);
                    var randomWaitSeconds = UnityEngine.Random.Range(3, 8);
                    clientMatchClock = Clock.Create(DateTime.Now + new TimeSpan(randomWaitSeconds * TimeSpan.TicksPerSecond), () =>
                   {
                       if (StageLoad.Instance.stageType == Stage.E_StageType.Dungeon)
                       {
                           ClientCrossServerOneVsOne.FakeMatchOk();
                       }
                   });
                    {
                        IsMatching = false;
                        if (GameNetSystem.Instance.netState == GameNetSystem.NetState.Connected)
                        {
                            ClientCrossServerOneVsOne.FakeMatchOk();
                        }
                    });
                }
                else
                {
System/NewBieGuidance/NewBieCenter.cs
@@ -198,7 +198,7 @@
        {
            var guideRecord = currentGuide;
            currentGuide = 0;
            WindowCenter.Instance.Close<NewBieWin>();
            WindowCenter.Instance.CloseImmediately("NewBieWin");
            if (!completeGuidesBuf.Contains(guideRecord))
            {
@@ -387,7 +387,7 @@
            GameNetSystem.Instance.SendInfo(send);
            currentGuide = 0;
            WindowCenter.Instance.Close<NewBieWin>();
            WindowCenter.Instance.CloseImmediately("NewBieWin");
            var allGuideKeys = GuideConfig.GetKeys();
            for (int i = 0; i < allGuideKeys.Count; i++)
@@ -405,7 +405,7 @@
            GameNetSystem.Instance.SendInfo(send);
            currentGuide = 0;
            WindowCenter.Instance.Close<NewBieWin>();
            WindowCenter.Instance.CloseImmediately("NewBieWin");
            completeGuidesBuf.Clear();
        }
System/WindowBase/WindowCenter.cs
@@ -597,7 +597,7 @@
            }
            checkTimer += Time.deltaTime;
            if (checkTimer > 2f)
            if (checkTimer > 0.5f)
            {
                checkTimer = 0f;
                if (!StageLoad.Instance.isLoading)