yyl
2 天以前 5d3366f2e0f687995eb7ad2107c4379fe7acd4e8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
//--------------------------------------------------------
//    [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);
        }
    }
}