| //-------------------------------------------------------- | 
| //    [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 FunctionTeamSetConfig : ConfigBase<int, FunctionTeamSetConfig> | 
| { | 
|   | 
|     public int FuncMapID; | 
|     public int NeedName; | 
|     public int MemberMax; | 
|     public int ApplyMax; | 
|     public int ReqApplyMax; | 
|     public int SortType; | 
|     public int SortReverse; | 
|     public int OPLimitInAct; | 
|   | 
|     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 FuncMapID);  | 
|   | 
|             int.TryParse(tables[1],out NeedName);  | 
|   | 
|             int.TryParse(tables[2],out MemberMax);  | 
|   | 
|             int.TryParse(tables[3],out ApplyMax);  | 
|   | 
|             int.TryParse(tables[4],out ReqApplyMax);  | 
|   | 
|             int.TryParse(tables[5],out SortType);  | 
|   | 
|             int.TryParse(tables[6],out SortReverse);  | 
|   | 
|             int.TryParse(tables[7],out OPLimitInAct);  | 
|         } | 
|         catch (Exception exception) | 
|         { | 
|             Debug.LogError(exception); | 
|         } | 
|     } | 
| } |