//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Thursday, July 05, 2018 //-------------------------------------------------------- using UnityEngine; using System; namespace TableConfig { public partial class VIPAwardConfig : ConfigBase { public int VIPLV { get ; private set ; } public string VIPgift { get ; private set; } public int GiftPrice { get ; private set ; } public int OldPrice { get ; private set ; } public string specialGiftIcon { get ; private set; } public override string getKey() { return VIPLV.ToString(); } public override void Parse() { try { VIPLV=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; VIPgift = rawContents[1].Trim(); GiftPrice=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; OldPrice=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0; specialGiftIcon = rawContents[4].Trim(); } catch (Exception ex) { DebugEx.Log(ex); } } } }