//--------------------------------------------------------  
 | 
//    [Author]:           YYL  
 | 
//    [  Date ]:           2025年8月28日  
 | 
//--------------------------------------------------------  
 | 
  
 | 
using System.Collections.Generic;  
 | 
using System;  
 | 
using UnityEngine;  
 | 
using LitJson;  
 | 
  
 | 
public partial class FuncOpenLVConfig : ConfigBase<int, FuncOpenLVConfig>  
 | 
{  
 | 
    static FuncOpenLVConfig()  
 | 
    {  
 | 
        // 访问过静态构造函数  
 | 
        visit = true;   
 | 
    }  
 | 
  
 | 
    public int FuncId;  
 | 
    public int LimitLV;  
 | 
    public int LimiRealmLV;  
 | 
    public int LimitMissionID;  
 | 
    public int OpenDay;  
 | 
    public string Name;  
 | 
    public string Desc;  
 | 
    public string Icon;  
 | 
    public Dictionary<int, int[][]> Award;  
 | 
  
 | 
    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 FuncId);   
 | 
  
 | 
            int.TryParse(tables[1],out LimitLV);   
 | 
  
 | 
            int.TryParse(tables[2],out LimiRealmLV);   
 | 
  
 | 
            int.TryParse(tables[3],out LimitMissionID);   
 | 
  
 | 
            int.TryParse(tables[4],out OpenDay);   
 | 
  
 | 
            Name = tables[5];  
 | 
  
 | 
            Desc = tables[6];  
 | 
  
 | 
            Icon = tables[7];  
 | 
  
 | 
            Award = ConfigParse.ParseIntArray2Dict(tables[8]);   
 | 
        }  
 | 
        catch (Exception exception)  
 | 
        {  
 | 
            Debug.LogError(exception);  
 | 
        }  
 | 
    }  
 | 
}  
 |