//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Monday, August 13, 2018 //-------------------------------------------------------- using UnityEngine; using System; namespace TableConfig { public partial class BossRebornConfig : ConfigBase { public int Id { get ; private set ; } public string Description { get ; private set; } public int jump { get ; private set ; } public int order { get ; private set ; } public override string getKey() { return Id.ToString(); } public override void Parse() { try { Id=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; Description = rawContents[1].Trim(); jump=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; order=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0; } catch (Exception ex) { DebugEx.Log(ex); } } } }