| //--------------------------------------------------------  | 
| //    [Author]:           YYL  | 
| //    [  Date ]:           2025年8月5日  | 
| //--------------------------------------------------------  | 
|   | 
| using System.Collections.Generic;  | 
| using System;  | 
| using UnityEngine;  | 
| using LitJson;  | 
|   | 
| public partial class OrderInfoConfig : ConfigBase<int, OrderInfoConfig>  | 
| {  | 
|     static OrderInfoConfig()  | 
|     {  | 
|         // 访问过静态构造函数  | 
|         visit = true;   | 
|     }  | 
|   | 
|     public int id;  | 
|     public string OrderInfo;  | 
|     public string AppId;  | 
|     public float PayRMBNum; //打折请使用 PayRMBNumOnSale(0.1折)  | 
|     public int CTGID;  | 
|     public float UsdMoney;  | 
|     public string StoreOrderInfo;  | 
|     public string StoreOrderInfo2;  | 
|     public string Name;  | 
|     public string StoreOrderInfo3;  | 
|   | 
|     public override int LoadKey(string _key)  | 
|     {  | 
|         int key = GetKey(_key);  | 
|         return key;  | 
|     }  | 
|   | 
|     public override void LoadConfig(string input)  | 
|     {  | 
|         try {  | 
|         string[] tables = input.Split('\t');  | 
|         int.TryParse(tables[0],out id);   | 
|   | 
|             OrderInfo = tables[1];  | 
|   | 
|             AppId = tables[2];  | 
|   | 
|             float.TryParse(tables[3],out PayRMBNum);   | 
|   | 
|             int.TryParse(tables[4],out CTGID);   | 
|   | 
|             float.TryParse(tables[5],out UsdMoney);   | 
|   | 
|             StoreOrderInfo = tables[6];  | 
|   | 
|             StoreOrderInfo2 = tables[7];  | 
|   | 
|             Name = tables[8];  | 
|   | 
|             StoreOrderInfo3 = tables[9];  | 
|         }  | 
|         catch (Exception exception)  | 
|         {  | 
|             Debug.LogError(exception);  | 
|         }  | 
|     }  | 
| }  |