//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Wednesday, November 21, 2018 //-------------------------------------------------------- using UnityEngine; using System; namespace TableConfig { public partial class ApkUpdateUrlConfig : ConfigBase { public string appid { get ; private set; } public int branch { get ; private set ; } public string url { get ; private set; } public override string getKey() { return appid.ToString(); } public override void Parse() { try { appid = rawContents[0].Trim(); branch=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; url = rawContents[2].Trim(); } catch (Exception ex) { DebugEx.Log(ex); } } } }