hch
3 小时以前 029ca10ed212f10fc164de1e071bddc4af7f2e9e
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 ]:           Wednesday, February 11, 2026
//--------------------------------------------------------
 
using System.Collections.Generic;
using System;
using UnityEngine;
using LitJson;
 
public partial class ActLunhuidianTypeConfig : ConfigBase<int, ActLunhuidianTypeConfig>
{
    static ActLunhuidianTypeConfig()
    {
        // 访问过静态构造函数
        visit = true; 
    }
 
    public int ID;
    public int RoundType;
    public int TabType;
    public int TabSort;
    public string TabName;
    public string bgImage;
    public string TitleBgImage;
    public string InfoBgImage;
    public string InfoImage;
 
    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); 
 
            int.TryParse(tables[1],out RoundType); 
 
            int.TryParse(tables[2],out TabType); 
 
            int.TryParse(tables[3],out TabSort); 
 
            TabName = tables[4];
 
            bgImage = tables[5];
 
            TitleBgImage = tables[6];
 
            InfoBgImage = tables[7];
 
            InfoImage = tables[8];
        }
        catch (Exception exception)
        {
            Debug.LogError(exception);
        }
    }
}