//-------------------------------------------------------- // [Author]: YYL // [ Date ]: 2025年11月9日 //-------------------------------------------------------- using System.Collections.Generic; using System; using UnityEngine; using LitJson; public partial class LLMJConfig : ConfigBase { static LLMJConfig() { // 访问过静态构造函数 visit = true; } public int MJLV; public int CostWarhammer; public int ExpAddPer; public int ExpExUpper; public int DecomposeAddPer; public int DecomposeExUpper; 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 MJLV); int.TryParse(tables[1],out CostWarhammer); int.TryParse(tables[2],out ExpAddPer); int.TryParse(tables[3],out ExpExUpper); int.TryParse(tables[4],out DecomposeAddPer); int.TryParse(tables[5],out DecomposeExUpper); } catch (Exception exception) { Debug.LogError(exception); } } }