| | |
| | | DebugingBuffStatus(vPackList); |
| | | #endif |
| | | |
| | | #region Start Print Before Pack List Detail |
| | | if (Launch.Instance.isOpenSkillLogFile) |
| | | { |
| | | try |
| | | { |
| | | string detailAnalysis = PrintPackageDetailAnalysis(vPackList, guid); |
| | | string filePath = Application.dataPath + "/../BattleReport/PackageBeforeDetailAnalysis_" + DateTime.Now.ToString("yyyyMMdd_HHmmss") + ".txt"; |
| | | System.IO.Directory.CreateDirectory(System.IO.Path.GetDirectoryName(filePath)); |
| | | System.IO.File.WriteAllText(filePath, detailAnalysis); |
| | | Debug.Log("包详细分析已保存到: " + filePath); |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | Debug.LogError("保存包详细分析失败: " + e.Message); |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | vPackList = AnalysisPackQueueAndDistribute(guid, vPackList); |
| | | |
| | | |
| | |
| | | try |
| | | { |
| | | string detailAnalysis = PrintPackageDetailAnalysis(vPackList, guid); |
| | | string filePath = Application.dataPath + "/../BattleReport/PackageDetailAnalysis_" + DateTime.Now.ToString("yyyyMMdd_HHmmss") + ".txt"; |
| | | string filePath = Application.dataPath + "/../BattleReport/PackageAfterDetailAnalysis_" + DateTime.Now.ToString("yyyyMMdd_HHmmss") + ".txt"; |
| | | System.IO.Directory.CreateDirectory(System.IO.Path.GetDirectoryName(filePath)); |
| | | System.IO.File.WriteAllText(filePath, detailAnalysis); |
| | | Debug.Log("包详细分析已保存到: " + filePath); |