//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Friday, March 30, 2018 //-------------------------------------------------------- using UnityEngine; using System; namespace TableConfig { public partial class VIPKillNPCConfig : ConfigBase { public int LV { get ; private set ; } public int Exp1 { get ; private set ; } public int Exp2 { get ; private set ; } public int MinAtk { get ; private set ; } public int MaxAtk { get ; private set ; } public override string getKey() { return LV.ToString(); } public override void Parse() { try { LV=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; Exp1=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; Exp2=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; MinAtk=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0; MaxAtk=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0; } catch (Exception ex) { DebugEx.Log(ex); } } } }