少年修仙传客户端代码仓库
client_Wu Xijin
2019-01-23 170eb1032b6e99761203f6d11e91a3be6cfe870c
3335 修改封包记录,添加0403 的记录
2个文件已修改
9 ■■■■ 已修改文件
Core/NetworkPackage/DTCFile/ServerPack/H04_Scene/DTC0403_tagPlayerLoginLoadOK.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Utility/StageLoadTimeOutCatcher.cs 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/NetworkPackage/DTCFile/ServerPack/H04_Scene/DTC0403_tagPlayerLoginLoadOK.cs
@@ -15,6 +15,8 @@
    {
        base.Done(vNetPack);
        var vNetData = vNetPack as H0403_tagPlayerLoginLoadOK;
        StageLoadTimeOutCatcher.RecordProtocol(vNetPack.socketType, "0403", DateTime.Now);
        GameNetSystem.Instance.netState = GameNetSystem.NetState.Connected;
        finishedLogin = true;
        GA_Hero.s_MapSwitching = false;
Utility/StageLoadTimeOutCatcher.cs
@@ -12,6 +12,7 @@
    public static ProtocolRecorder gotA126Time;
    public static ProtocolRecorder gotA127Time;
    public static ProtocolRecorder got0109Time;
    public static ProtocolRecorder got0403Time;
    public static ProtocolRecorder send0107Time;
    public static StageLoadTimeOutCatcher Begin(int stageId)
@@ -51,7 +52,8 @@
                                        gotA126Time.ToString(), "$$",
                                        gotA127Time.ToString(), "$$",
                                        got0109Time.ToString(), "$$",
                                        send0107Time.ToString());
                                        send0107Time.ToString(),"$$",
                                        got0403Time.ToString());
            ExceptionCatcher.ReportException(title, description);
            Stop();
@@ -78,6 +80,9 @@
            case "0107":
                send0107Time = recorder;
                break;
            case "0403":
                got0403Time = recorder;
                break;
            default:
                break;
        }