From c4fc0677bbbfbbfb588658058c8a58148d0797a7 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期六, 29 九月 2018 22:10:54 +0800
Subject: [PATCH] 3978 【前端】登录问题排查

---
 Core/NetworkPackage/DebugPkgCache.cs.meta |   12 ++++++++++++
 Core/NetworkPackage/DebugPkgCache.cs      |   31 +++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/Core/NetworkPackage/DebugPkgCache.cs b/Core/NetworkPackage/DebugPkgCache.cs
new file mode 100644
index 0000000..c20213b
--- /dev/null
+++ b/Core/NetworkPackage/DebugPkgCache.cs
@@ -0,0 +1,31 @@
+using System.Collections.Generic;
+
+public class DebugPkgCache
+{
+    private string dataTime;
+    private int code;
+
+    private static List<DebugPkgCache> m_List = new List<DebugPkgCache>();
+
+    public static void Push(GameNetPackBasic package)
+    {
+        if (m_List.Count != 0)
+        {
+            if (m_List[m_List.Count - 1].code == 258)
+            {
+                return;
+            }
+        }
+
+        DebugPkgCache _p = new DebugPkgCache();
+        _p.dataTime = System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
+        _p.code = package.cmd;
+
+        m_List.Add(_p);
+    }
+
+    public static void UpLoad()
+    {
+
+    }
+}
\ No newline at end of file
diff --git a/Core/NetworkPackage/DebugPkgCache.cs.meta b/Core/NetworkPackage/DebugPkgCache.cs.meta
new file mode 100644
index 0000000..dad9db4
--- /dev/null
+++ b/Core/NetworkPackage/DebugPkgCache.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 90b1b61b46516f047a22f3e5920983cd
+timeCreated: 1538230240
+licenseType: Free
+MonoImporter:
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

--
Gitblit v1.8.0