少年修仙传客户端代码仓库
client_Zxw
2018-10-23 f8cf1c322ac11a3acc624898f2a0b5835cf79a7b
2190 【BUG】娲皇遗迹初始层数选择错误
4个文件已修改
15 ■■■■■ 已修改文件
Core/NetworkPackage/DTCFile/ServerPack/HB9_Team/DTCB912_tagGCTeamMemFuncDataList.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dungeon/DungeonModel.cs 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/PlayerMainDate.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Team/GroupDungeonChallengeProcessor.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/NetworkPackage/DTCFile/ServerPack/HB9_Team/DTCB912_tagGCTeamMemFuncDataList.cs
@@ -20,6 +20,7 @@
        {
            if (vNetData.TeamMemFuncType == 0)
            {
                main.IsSend = true;
                main.LayerNumber = 7;
                for (int i = 0; i < vNetData.MemCount; i++)
                {
System/Dungeon/DungeonModel.cs
@@ -531,6 +531,7 @@
            {
                var cB910 = new CB910_tagCGQueryTeamMemFuncData();
                cB910.TeamMemFuncType = 0;
                mainModel.IsSend = false;
                GameNetSystem.Instance.SendInfo(cB910);
            }
            else
@@ -570,6 +571,7 @@
                {
                    mainModel.LayerNumber = 0;
                }
                mainModel.IsSend = true;
            }
            SnxxzGame.Instance.StartCoroutine(AwaitTime());
        }
@@ -577,6 +579,11 @@
        IEnumerator AwaitTime()
        {
            yield return WaitingForSecondConst.WaitMS700;
            var mainModel = ModelCenter.Instance.GetModel<PlayerMainDate>();
            if (!mainModel.IsSend)
            {
                yield break;
            }
            WindowCenter.Instance.Open<FloorChooseWin>();
        }
System/MainInterfacePanel/PlayerMainDate.cs
@@ -70,6 +70,7 @@
        }
    }
    public int LayerNumberNow = 0;//现在的选择层数
    public bool IsSend = false;//像服务端法宝请求回包保护
    //-------------用来控住主界面的Tip的执行调用
    public bool IsTipBool = true;
System/Team/GroupDungeonChallengeProcessor.cs
@@ -26,6 +26,7 @@
                    var cB910 = new CB910_tagCGQueryTeamMemFuncData();
                    cB910.TeamMemFuncType = 0;
                    GameNetSystem.Instance.SendInfo(cB910);
                    main.IsSend = false;
                    StartCoroutine(Co_DelayShowFloorChooseWin(_isAutoMatch));
                }
            }
@@ -80,7 +81,10 @@
        IEnumerator Co_DelayShowFloorChooseWin(bool _isAutoMatch)
        {
            yield return WaitingForSecondConst.WaitMS700;
            if (!main.IsSend)
            {
                yield break;
            }
            if (main.LayerNumber == -1)
            {
                main.LayerNumberNow = 0;