From 170eb1032b6e99761203f6d11e91a3be6cfe870c Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 23 一月 2019 21:27:43 +0800
Subject: [PATCH] 3335 修改封包记录,添加0403 的记录

---
 Core/NetworkPackage/DTCFile/ServerPack/H04_Scene/DTC0403_tagPlayerLoginLoadOK.cs |    2 ++
 Utility/StageLoadTimeOutCatcher.cs                                               |    7 ++++++-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/Core/NetworkPackage/DTCFile/ServerPack/H04_Scene/DTC0403_tagPlayerLoginLoadOK.cs b/Core/NetworkPackage/DTCFile/ServerPack/H04_Scene/DTC0403_tagPlayerLoginLoadOK.cs
index f5dd881..a9ffc6c 100644
--- a/Core/NetworkPackage/DTCFile/ServerPack/H04_Scene/DTC0403_tagPlayerLoginLoadOK.cs
+++ b/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;
diff --git a/Utility/StageLoadTimeOutCatcher.cs b/Utility/StageLoadTimeOutCatcher.cs
index 51d5bff..94c4b7c 100644
--- a/Utility/StageLoadTimeOutCatcher.cs
+++ b/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;
         }

--
Gitblit v1.8.0