//--------------------------------------------------------  
 | 
//    [Author]:           YYL  
 | 
//    [  Date ]:           2025年8月5日  
 | 
//--------------------------------------------------------  
 | 
  
 | 
using System.Collections.Generic;  
 | 
using System;  
 | 
using UnityEngine;  
 | 
using LitJson;  
 | 
  
 | 
public partial class FamilyEmblemConfig : ConfigBase<int, FamilyEmblemConfig>  
 | 
{  
 | 
    static FamilyEmblemConfig()  
 | 
    {  
 | 
        // 访问过静态构造函数  
 | 
        visit = true;   
 | 
    }  
 | 
  
 | 
    public int EmblemID;  
 | 
    public string Name;  
 | 
    public int UnlockFamilyLV;  
 | 
    public int ExpireMinutes;  
 | 
    public int CustomFamilyID;  
 | 
    public string Image;  
 | 
    public int EffectID;  
 | 
    public int SortNum;  
 | 
    public string Descriptive;  
 | 
  
 | 
    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 EmblemID);   
 | 
  
 | 
            Name = tables[1];  
 | 
  
 | 
            int.TryParse(tables[2],out UnlockFamilyLV);   
 | 
  
 | 
            int.TryParse(tables[3],out ExpireMinutes);   
 | 
  
 | 
            int.TryParse(tables[4],out CustomFamilyID);   
 | 
  
 | 
            Image = tables[5];  
 | 
  
 | 
            int.TryParse(tables[6],out EffectID);   
 | 
  
 | 
            int.TryParse(tables[7],out SortNum);   
 | 
  
 | 
            Descriptive = tables[8];  
 | 
        }  
 | 
        catch (Exception exception)  
 | 
        {  
 | 
            Debug.LogError(exception);  
 | 
        }  
 | 
    }  
 | 
}  
 |