//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Wednesday, June 06, 2018 //-------------------------------------------------------- using UnityEngine; using System; namespace TableConfig { public partial class bossSkillTipsConfig : ConfigBase { public int SkillID { get ; private set ; } public string Content { get ; private set; } public int time { get ; private set ; } public int type { get ; private set ; } public int mode { get ; private set ; } public string art { get ; private set; } public string[] bossIcon; public override string getKey() { return SkillID.ToString(); } public override void Parse() { try { SkillID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; Content = rawContents[1].Trim(); time=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; type=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0; mode=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0; art = rawContents[5].Trim(); bossIcon = rawContents[6].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); } catch (Exception ex) { DebugEx.Log(ex); } } } }