//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Thursday, April 19, 2018 //-------------------------------------------------------- using UnityEngine; using System; namespace TableConfig { public partial class AlchemySpecConfig : ConfigBase { public int ID { get ; private set ; } public int SpecialMaterialD { get ; private set ; } public int SpecialMateriaNUM { get ; private set ; } public int AlchemyEXP { get ; private set ; } public string AlchemyItem { get ; private set; } public string AlchemPreviewItem { get ; private set; } public int BlastFurnaceLV { get ; private set ; } public string Introduce { get ; private set; } public override string getKey() { return ID.ToString(); } public override void Parse() { try { ID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; SpecialMaterialD=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; SpecialMateriaNUM=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; AlchemyEXP=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0; AlchemyItem = rawContents[4].Trim(); AlchemPreviewItem = rawContents[5].Trim(); BlastFurnaceLV=IsNumeric(rawContents[6]) ? int.Parse(rawContents[6]):0; Introduce = rawContents[7].Trim(); } catch (Exception ex) { DebugEx.Log(ex); } } } }