//--------------------------------------------------------
|
// [Author]: YYL
|
// [ Date ]: Friday, June 27, 2025
|
//--------------------------------------------------------
|
|
using System.Collections.Generic;
|
using System.IO;
|
using System.Threading;
|
using System;
|
using UnityEngine;
|
using LitJson;
|
|
public partial class OrderInfoConfig : ConfigBase<int, OrderInfoConfig>
|
{
|
|
public int id;
|
public string OrderInfo;
|
public string AppId;
|
public float PayRMBNum;
|
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);
|
}
|
}
|
}
|