//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Saturday, November 24, 2018 //-------------------------------------------------------- using UnityEngine; using System; namespace TableConfig { public partial class LoadingBackGroundConfig : ConfigBase { public int id { get ; private set ; } public int lineId { get ; private set ; } public string[] icons; public string levelLimit { get ; private set; } public string name { get ; private set; } public string description { get ; private set; } public override string getKey() { return id.ToString(); } public override void Parse() { try { id=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; lineId=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; icons = rawContents[2].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); levelLimit = rawContents[3].Trim(); name = rawContents[4].Trim(); description = rawContents[5].Trim(); } catch (Exception ex) { DebugEx.Log(ex); } } } }