From f36c948d0e0fad537b559a858fd48d6cd577bb1f Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期六, 10 十一月 2018 14:52:03 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 Core/GameEngine/Model/TelPartialConfig/tagEquipWashSpecConfig.cs |   24 +++++++++++++++++++-----
 1 files changed, 19 insertions(+), 5 deletions(-)

diff --git a/Core/GameEngine/Model/TelPartialConfig/tagEquipWashSpecConfig.cs b/Core/GameEngine/Model/TelPartialConfig/tagEquipWashSpecConfig.cs
index 1e3aacd..2002d59 100644
--- a/Core/GameEngine/Model/TelPartialConfig/tagEquipWashSpecConfig.cs
+++ b/Core/GameEngine/Model/TelPartialConfig/tagEquipWashSpecConfig.cs
@@ -4,24 +4,30 @@
 {
     public partial class EquipWashSpecConfig : ConfigBase, IConfigPostProcess
     {
-        private static Dictionary<int, List<EquipWashSpecConfig>> _washSpecDict = new Dictionary<int, List<EquipWashSpecConfig>>();
+        private static Dictionary<int, List<EquipWashSpecData>> _washSpecDict = new Dictionary<int, List<EquipWashSpecData>>();
 
         public void OnConfigParseCompleted()
         {
+            EquipWashSpecData washSpecData = new EquipWashSpecData();
+            washSpecData.washSpecType = typeNeed;
+            washSpecData.specConfig = this;
+            washSpecData.activeIds = ConfigParse.GetMultipleStr<int>(attByLevel);
+            washSpecData.activeValues = ConfigParse.GetMultipleStr<int>(attByLevelValue);
+
             if (!_washSpecDict.ContainsKey(typeNeed))
             {
-                List<EquipWashSpecConfig> washSpeclist = new List<EquipWashSpecConfig>();
-                washSpeclist.Add(this);
+                List<EquipWashSpecData> washSpeclist = new List<EquipWashSpecData>();
+                washSpeclist.Add(washSpecData);
                 _washSpecDict.Add(typeNeed, washSpeclist);
             }
             else
             {
-                _washSpecDict[typeNeed].Add(this);
+                _washSpecDict[typeNeed].Add(washSpecData);
             }
         }
 
         //寰楀埌鐩稿悓娲楃粌绫诲瀷瀵瑰簲鐨勬墍鏈夊瑁呭睘鎬�
-        public static List<EquipWashSpecConfig> GetWashSpecModel(int type)
+        public static List<EquipWashSpecData> GetWashSpecModel(int type)
         {
             if (_washSpecDict.ContainsKey(type))
                 return _washSpecDict[type];
@@ -29,5 +35,13 @@
                 return null;
         }
 
+        public class EquipWashSpecData
+        {
+            public int washSpecType;
+            public EquipWashSpecConfig specConfig;
+            public int[] activeIds;
+            public int[] activeValues;
+        }
+
     }
 }
\ No newline at end of file

--
Gitblit v1.8.0