From 96ac92ee89919defe74e9a4bc981dbf328c8d476 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 13 二月 2019 18:43:26 +0800
Subject: [PATCH] 3335 配置表读取重构。

---
 Core/GameEngine/Model/Config/CrossServerArenaConfig.cs |   55 +++++++++++++++++++++++--------------------------------
 1 files changed, 23 insertions(+), 32 deletions(-)

diff --git a/Core/GameEngine/Model/Config/CrossServerArenaConfig.cs b/Core/GameEngine/Model/Config/CrossServerArenaConfig.cs
index 97482089..96ee5c6 100644
--- a/Core/GameEngine/Model/Config/CrossServerArenaConfig.cs
+++ b/Core/GameEngine/Model/Config/CrossServerArenaConfig.cs
@@ -5,11 +5,10 @@
 
 using UnityEngine;
 using System;
-
-namespace TableConfig {
+using System.Collections.Generic;
 
     
-	public partial class CrossServerArenaConfig : ConfigBase {
+	public partial class CrossServerArenaConfig {
 
 		public int DanLV { get ; private set ; }
 		public string Name { get ; private set; } 
@@ -17,37 +16,29 @@
 		public string IconKey { get ; private set; } 
 		public int LVUpScore { get ; private set ; }
 		public string DanLVAwardList { get ; private set; } 
-		public string SeasonAwardList { get ; private set; } 
+		public string SeasonAwardList { get ; private set; }
+
+    public static bool inited;
 
-		public override string getKey()
-        {
-            return DanLV.ToString();
-        }
+    public static void Init()
+    {
+
+    }
 
-		public override void Parse() {
-			try
-            {
-                DanLV=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; 
-			
-				Name = rawContents[1].Trim();
-			
-				DanType=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; 
-			
-				IconKey = rawContents[3].Trim();
-			
-				LVUpScore=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0; 
-			
-				DanLVAwardList = rawContents[5].Trim();
-			
-				SeasonAwardList = rawContents[6].Trim();
-            }
-            catch (Exception ex)
-            {
-                DebugEx.Log(ex);
-            }
-		}
-	
-	}
+    public static CrossServerArenaConfig Get(string id)
+    {
+        return null;
+    }
+
+    public static CrossServerArenaConfig Get(int id)
+    {
+        return null;
+    }
+
+    public static List<CrossServerArenaConfig> GetValues()
+    {
+        return null;
+    }
 
 }
 

--
Gitblit v1.8.0