//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Thursday, December 27, 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 DanType { get ; private set ; } 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 override string getKey() { return DanLV.ToString(); } 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); } } } }