//--------------------------------------------------------
|
// [Author]: YYL
|
// [ Date ]: 2025年8月20日
|
//--------------------------------------------------------
|
|
using System.Collections.Generic;
|
using System;
|
using UnityEngine;
|
using LitJson;
|
|
public partial class FuncOpenLVConfig : ConfigBase<int, FuncOpenLVConfig>
|
{
|
static FuncOpenLVConfig()
|
{
|
// 访问过静态构造函数
|
visit = true;
|
}
|
|
public int FuncId;
|
public int LimitLV;
|
public int LimiRealmLV;
|
public int LimitMissionID;
|
public string Name;
|
public string Desc;
|
public string Tip;
|
public string Icon;
|
public int open;
|
|
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 LimiRealmLV);
|
|
int.TryParse(tables[3],out LimitMissionID);
|
|
Name = tables[4];
|
|
Desc = tables[5];
|
|
Tip = tables[6];
|
|
Icon = tables[7];
|
|
int.TryParse(tables[8],out open);
|
}
|
catch (Exception exception)
|
{
|
Debug.LogError(exception);
|
}
|
}
|
}
|