From e399465bf8f19b1b3f1bbdbe0609ae3b35a0d021 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期六, 11 五月 2024 16:36:04 +0800
Subject: [PATCH] 0312 加密AB包的加载处理

---
 Core/GameEngine/Model/Config/ArenaRobotConfig.cs |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/Core/GameEngine/Model/Config/ArenaRobotConfig.cs b/Core/GameEngine/Model/Config/ArenaRobotConfig.cs
index 5376cac..f39ad85 100644
--- a/Core/GameEngine/Model/Config/ArenaRobotConfig.cs
+++ b/Core/GameEngine/Model/Config/ArenaRobotConfig.cs
@@ -163,6 +163,7 @@
         }
         else
         {
+            bool isEditor = AssetSource.refdataFromEditor;
             ThreadPool.QueueUserWorkItem((object _object) =>
             {
                 var lines = File.ReadAllLines(path);
@@ -174,7 +175,11 @@
                 {
 					try 
 					{
-					   var line = lines[i];
+					    var line = lines[i];
+                        if (!isEditor)
+					    { 
+						    line = new string(line.Reverse().ToArray());
+					    }
 						var index = line.IndexOf("\t");
 						if (index == -1)
 						{

--
Gitblit v1.8.0