| //--------------------------------------------------------  | 
| //    [Author]:           YYL  | 
| //    [  Date ]:           Monday, August 4, 2025  | 
| //--------------------------------------------------------  | 
|   | 
| using System.Collections.Generic;  | 
| using System;  | 
| using UnityEngine;  | 
| using LitJson;  | 
|   | 
| public partial class FuncOpenLVConfig : ConfigBase<int, FuncOpenLVConfig>  | 
| {  | 
|     static FuncOpenLVConfig()  | 
|     {  | 
|         dic.Clear();  | 
|     }  | 
|   | 
|     public int FuncId;  | 
|     public int LimitLV;  | 
|     public int LimitMagicWeapon;  | 
|     public int LimiRealmLV;  | 
|     public int LimitMissionID;  | 
|     public string Remark;  | 
|     public string State;  | 
|     public string Tip;  | 
|     public string Icon;  | 
|     public int open;  | 
|     public int ContinueTask;  | 
|   | 
|     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 LimitMagicWeapon);   | 
|   | 
|             int.TryParse(tables[3],out LimiRealmLV);   | 
|   | 
|             int.TryParse(tables[4],out LimitMissionID);   | 
|   | 
|             Remark = tables[5];  | 
|   | 
|             State = tables[6];  | 
|   | 
|             Tip = tables[7];  | 
|   | 
|             Icon = tables[8];  | 
|   | 
|             int.TryParse(tables[9],out open);   | 
|   | 
|             int.TryParse(tables[10],out ContinueTask);   | 
|         }  | 
|         catch (Exception exception)  | 
|         {  | 
|             Debug.LogError(exception);  | 
|         }  | 
|     }  | 
| }  |