From 385b0222500f0a75d2176cd4db646539e8740f01 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 07 十一月 2018 17:47:37 +0800
Subject: [PATCH] 3335 代码优化

---
 Core/GameEngine/Model/Config/RankListConfig.cs |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/Core/GameEngine/Model/Config/RankListConfig.cs b/Core/GameEngine/Model/Config/RankListConfig.cs
index 88252eb..f20afb7 100644
--- a/Core/GameEngine/Model/Config/RankListConfig.cs
+++ b/Core/GameEngine/Model/Config/RankListConfig.cs
@@ -1,6 +1,6 @@
 锘�//--------------------------------------------------------
 //    [Author]:			绗簩涓栫晫
-//    [  Date ]:		   Saturday, January 06, 2018
+//    [  Date ]:		   Wednesday, November 07, 2018
 //--------------------------------------------------------
 
 using UnityEngine;
@@ -11,10 +11,10 @@
     
 	public partial class RankListConfig : ConfigBase {
 
-		public int ID { get ; private set ; }
-		public int type { get ; private set ; }
-		public string ListName { get ; private set; } 
-		public string RankAtt { get ; private set; } 
+		public int ID { get ; private set ; }
+		public int type { get ; private set ; }
+		public string ListName { get ; private set; } 
+		public string[] RankAtt;
 
 		public override string getKey()
         {
@@ -24,13 +24,13 @@
 		public override void Parse() {
 			try
             {
-                ID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; 
-			
-				type=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; 
-			
-				ListName = rawContents[2].Trim();
-			
-				RankAtt = rawContents[3].Trim();
+                ID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; 
+			
+				type=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; 
+			
+				ListName = rawContents[2].Trim();
+			
+				RankAtt = rawContents[3].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
             }
             catch (Exception ex)
             {

--
Gitblit v1.8.0