//--------------------------------------------------------
|
// [Author]: YYL
|
// [ Date ]: 2025年11月4日
|
//--------------------------------------------------------
|
|
using System.Collections.Generic;
|
using System;
|
using UnityEngine;
|
using LitJson;
|
|
public partial class GetItemWaysConfig : ConfigBase<int, GetItemWaysConfig>
|
{
|
static GetItemWaysConfig()
|
{
|
// 访问过静态构造函数
|
visit = true;
|
}
|
|
public int ID;
|
public string Name;
|
public string Text;
|
public int WinJumpID;
|
public int FuncID;
|
public int Type;
|
public string CustomValue;
|
|
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);
|
|
Name = tables[1];
|
|
Text = tables[2];
|
|
int.TryParse(tables[3],out WinJumpID);
|
|
int.TryParse(tables[4],out FuncID);
|
|
int.TryParse(tables[5],out Type);
|
|
CustomValue = tables[6];
|
}
|
catch (Exception exception)
|
{
|
Debug.LogError(exception);
|
}
|
}
|
}
|