//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Wednesday, December 12, 2018 //-------------------------------------------------------- using UnityEngine; using System; namespace TableConfig { public partial class CrossServerArenaConfig : ConfigBase { public int DanLV { get ; private set ; } public string Name { get ; private set; } public int LVUpScore { get ; private set ; } public string DayAwardList { get ; private set; } public string SeasonAwardList { get ; private set; } public override string getKey() { return DanLV.ToString(); } public override void Parse() { try { DanLV=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; Name = rawContents[1].Trim(); LVUpScore=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; DayAwardList = rawContents[3].Trim(); SeasonAwardList = rawContents[4].Trim(); } catch (Exception ex) { DebugEx.Log(ex); } } } }