| //--------------------------------------------------------  | 
| //    [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 XBGetItemConfig : ConfigBase<int, XBGetItemConfig>  | 
| {  | 
|   | 
|     public int ID;  | 
|     public int TreasureType;  | 
|     public int MinLV;  | 
|     public string GridItemInfo;  | 
|     public string GridLibInfo;  | 
|     public string JobItemList;  | 
|     public int[][] GridItemRateList1;  | 
|   | 
|     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 TreasureType);   | 
|   | 
|             int.TryParse(tables[2],out MinLV);   | 
|   | 
|             GridItemInfo = tables[3];  | 
|   | 
|             GridLibInfo = tables[4];  | 
|   | 
|             JobItemList = tables[5];  | 
|   | 
|             GridItemRateList1 = JsonMapper.ToObject<int[][]>(tables[6].Replace("(", "[").Replace(")", "]"));   | 
|         }  | 
|         catch (Exception exception)  | 
|         {  | 
|             Debug.LogError(exception);  | 
|         }  | 
|     }  | 
| }  |