少年修仙传客户端代码仓库
client_Wu Xijin
2018-08-13 eda22bcd9683f3a94e0744da60d23808272c627f
Core/GameEngine/Model/Config/OrderInfoConfig.cs
@@ -9,32 +9,32 @@
namespace TableConfig {
    
   public partial class OrderInfoConfig : ConfigBase {
   public partial class OrderInfoConfig : ConfigBase {
      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 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 OrderInfo.ToString();
      public override string getKey()
        {
            return OrderInfo.ToString();
        }
      public override void Parse() {
         try
            {
                OrderInfo = rawContents[0].Trim();
            AppId = rawContents[1].Trim();
            PayRMBNum=IsNumeric(rawContents[2]) ? float.Parse(rawContents[2]):0;
            CTGID=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
            }
            catch (Exception ex)
            {
                DesignDebug.Log(ex);
         try
            {
                OrderInfo = rawContents[0].Trim();
            AppId = rawContents[1].Trim();
            PayRMBNum=IsNumeric(rawContents[2]) ? float.Parse(rawContents[2]):0;
            CTGID=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
            }
            catch (Exception ex)
            {
                DesignDebug.Log(ex);
            }
      }