| //--------------------------------------------------------  | 
| //    [Author]:           YYL  | 
| //    [  Date ]:           2025年8月5日  | 
| //--------------------------------------------------------  | 
|   | 
| using System.Collections.Generic;  | 
| using System;  | 
| using UnityEngine;  | 
| using LitJson;  | 
|   | 
| public partial class FunctionTeamSetConfig : ConfigBase<int, FunctionTeamSetConfig>  | 
| {  | 
|     static FunctionTeamSetConfig()  | 
|     {  | 
|         // 访问过静态构造函数  | 
|         visit = true;   | 
|     }  | 
|   | 
|     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);  | 
|         }  | 
|     }  | 
| }  |