| //--------------------------------------------------------  | 
| //    [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 FamilyEmblemConfig : ConfigBase<int, FamilyEmblemConfig>  | 
| {  | 
|   | 
|     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);  | 
|         }  | 
|     }  | 
| }  |