少年修仙传客户端代码仓库
client_linchunjie
2018-08-14 f1e33a19419eb19e03ea8ae592b458541be3c4ac
Core/GameEngine/Model/Config/OrderInfoConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:         第二世界
//    [  Date ]:         Wednesday, July 25, 2018
//    [  Date ]:         Tuesday, August 14, 2018
//--------------------------------------------------------
using UnityEngine;
@@ -11,6 +11,7 @@
    
   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; } 
@@ -18,19 +19,21 @@
      public override string getKey()
        {
            return OrderInfo.ToString();
            return id.ToString();
        }
      public override void Parse() {
         try
            {
                OrderInfo = rawContents[0].Trim();
                id=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
         
            AppId = rawContents[1].Trim();
            OrderInfo = rawContents[1].Trim();
         
            PayRMBNum=IsNumeric(rawContents[2]) ? float.Parse(rawContents[2]):0;
            AppId = rawContents[2].Trim();
         
            CTGID=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
            PayRMBNum=IsNumeric(rawContents[3]) ? float.Parse(rawContents[3]):0;
            CTGID=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0;
            }
            catch (Exception ex)
            {