//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Tuesday, August 14, 2018 //-------------------------------------------------------- using UnityEngine; using System; namespace TableConfig { public partial class OrderInfoConfig : ConfigBase { public int id { get ; private set ; } public string OrderInfo { get ; private set; } public string AppId { get ; private set; } public float PayRMBNum { get ; private set; } public int CTGID { get ; private set ; } public override string getKey() { return id.ToString(); } public override void Parse() { try { id=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; OrderInfo = rawContents[1].Trim(); AppId = rawContents[2].Trim(); PayRMBNum=IsNumeric(rawContents[3]) ? float.Parse(rawContents[3]):0; CTGID=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0; } catch (Exception ex) { DesignDebug.Log(ex); } } } }