From ad3ac1661daaf4b445914f87009d3d88c990f040 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 28 四月 2026 11:45:19 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into h5version

---
 Main/Utility/OperationLogCollect.cs |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 60 insertions(+), 0 deletions(-)

diff --git a/Main/Utility/OperationLogCollect.cs b/Main/Utility/OperationLogCollect.cs
index 132fdd0..135fbd1 100644
--- a/Main/Utility/OperationLogCollect.cs
+++ b/Main/Utility/OperationLogCollect.cs
@@ -9,6 +9,64 @@
 {
 
 #if TEST_BUILD
+    const string url = "http://gamecenter.secondworld.net.cn:11000/center/eventreport.php?";
+#else
+    const string url = "http://xssgcenter.secondworld.net.cn:11000/center/eventreport.php?";
+#endif
+
+    //6001 鍚姩娓告垙
+    //6002 璇锋眰鐗堟湰淇℃伅
+    //6003 鍑嗗涓嬭浇
+    //6004 寮�濮嬩笅杞�
+    //6005 鍔犺浇浠g爜
+    //6006 鍚姩浠g爜
+    //6007 杩涘叆娓告垙
+    //6008 鎷疯礉琛ㄦ牸
+    //6009 璇锋眰鏉冮檺
+    //6010 鍒濆鍖栬缃�
+    //6011 sdk鍒濆鍖�
+    //6012 娓告垙鐗堟湰淇℃伅
+    //6013 妫�娴嬭祫婧�
+    //6014 涓嬭浇璧勬簮
+    //6015 鍔犺浇璧勬簮
+    //6016 鍔犺浇琛ㄦ牸
+    //6017 鍔犺浇 shader
+    //6018 鏄剧ず鐧诲綍鐣岄潰
+
+    //6101 SDK鍒濆鍖栨垚鍔�
+    //6102 SDK鍒濆鍖栧け璐�
+    //6103 SDK璐﹀彿鐧诲綍鎴愬姛
+    //6104 SDK璐﹀彿鐧诲綍澶辫触
+    public void RecordLauchEvent(int _step)
+    {
+#if !UNITY_EDITOR
+        //榛樿鍙戦�佸嵆浣胯〃娌℃湁鍒濆鍖�
+        if (SDKUtils.Instance.AssetCopyFinished)
+        {
+            var config = InitialFunctionConfig.Get("Event");
+            if (config != null && config.Numerical1 != "1")
+            {
+                return;
+            }
+        }
+        var tables = new Dictionary<string, string>();
+        tables["OperatorID"] = VersionConfig.Get().appId;
+        tables["RegionName"] = "data";
+        tables["EventID"] = (6000 + _step).ToString();
+        tables["ProductID"] = VersionConfig.Get().gameId;
+        tables["Device"] = DeviceUtility.GetDeviceModel();
+        tables["os_version"] = DeviceUtility.GetDeviceOSLevel();
+        tables["game_version"] = StringUtility.Concat(VersionConfig.Get().version, "_", VersionConfig.Get().buildIndex.ToString());
+        tables["IMEI"] = DeviceUtility.GetDeviceUniquenessIdentify();
+        tables["Time"] = System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
+
+        HttpRequest.Instance.RequestHttpGet(StringUtility.Concat(url, HttpRequest.HashtablaToString(tables)), HttpRequest.defaultHttpContentType);
+#endif
+    }
+
+
+
+#if TEST_BUILD
     const string bugReportUrl = "http://gamecenter.secondworld.net.cn:11000/center/eventreport.php?";
 #else
     const string bugReportUrl = "http://xssgcenter.secondworld.net.cn:11000/center/eventreport.php?";
@@ -104,6 +162,7 @@
         tables["ProductID"] = VersionConfig.Get().gameId;
         tables["OperatorID"] = VersionConfig.Get().appId;
         tables["OperatorName"] = string.Empty;
+        tables["ChannelType"] = chatType.ToString();
         tables["RegionName"] = StringUtility.Concat("s", ServerListCenter.Instance.currentServer.region_flag.ToString());
         tables["RegionID"] = ServerListCenter.Instance.currentServer.region_flag.ToString();
         tables["EventID"] = 9003.ToString();
@@ -115,6 +174,7 @@
         tables["RoleID"] = StringUtility.Concat(isFairy ? UIHelper.ServerStringTrim(PlayerDatas.Instance.baseData.FamilyName) : string.Empty,
            isFairy ? "-" : string.Empty, UIHelper.ServerStringTrim(PlayerDatas.Instance.baseData.PlayerName));
         tables["ToRoleID"] = UIHelper.ServerStringTrim(toPlayer);
+        tables["PlayerID"] = PlayerDatas.Instance.baseData.PlayerID.ToString();
         tables["Level"] = PlayerDatas.Instance.baseData.LV.ToString();
         tables["VIPLevel"] = PlayerDatas.Instance.baseData.VIPLv.ToString();
         tables["Content"] = UrlEncode(UIHelper.TrimContentToServer(content));

--
Gitblit v1.8.0