From 8e91ea34abd99ec2960f67580baf2133dc86799f Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 06 三月 2026 18:55:13 +0800
Subject: [PATCH] 536 【新手提示】新手期增加上阵武将提示
---
Main/Config/Configs/MainChapterConfig.cs | 103 ++++++++++++++++++++++++++-------------------------
1 files changed, 53 insertions(+), 50 deletions(-)
diff --git a/Main/Config/Configs/MainChapterConfig.cs b/Main/Config/Configs/MainChapterConfig.cs
index 3a87bcd..b90a297 100644
--- a/Main/Config/Configs/MainChapterConfig.cs
+++ b/Main/Config/Configs/MainChapterConfig.cs
@@ -1,50 +1,53 @@
-锘�//--------------------------------------------------------
-// [Author]: YYL
-// [ Date ]: 2025骞�7鏈�7鏃�
-//--------------------------------------------------------
-
-using System.Collections.Generic;
-using System.IO;
-using System.Threading;
-using System;
-using UnityEngine;
-using LitJson;
-
-public partial class MainChapterConfig : ConfigBase<int, MainChapterConfig>
-{
-
- public int ChapterID;
- public string ChapterName;
- public string Level;
- public string MapBG;
- public int[][] DailyBootyUpperList;
- public string BootyWeightList;
-
- 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 ChapterID);
-
- ChapterName = tables[1];
-
- Level = tables[2];
-
- MapBG = tables[3];
-
- DailyBootyUpperList = JsonMapper.ToObject<int[][]>(tables[4].Replace("(", "[").Replace(")", "]"));
-
- BootyWeightList = tables[5];
- }
- catch (Exception exception)
- {
- Debug.LogError(exception);
- }
- }
-}
+锘�//--------------------------------------------------------
+// [Author]: YYL
+// [ Date ]: 2025骞�9鏈�1鏃�
+//--------------------------------------------------------
+
+using System.Collections.Generic;
+using System;
+using UnityEngine;
+using LitJson;
+
+public partial class MainChapterConfig : ConfigBase<int, MainChapterConfig>
+{
+ static MainChapterConfig()
+ {
+ // 璁块棶杩囬潤鎬佹瀯閫犲嚱鏁�
+ visit = true;
+ }
+
+ public int ChapterID;
+ public string ChapterName;
+ public string Level;
+ public string MapBG;
+ public int[][] DailyBootyUpperList;
+ public string BG;
+
+ 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 ChapterID);
+
+ ChapterName = tables[1];
+
+ Level = tables[2];
+
+ MapBG = tables[3];
+
+ DailyBootyUpperList = JsonMapper.ToObject<int[][]>(tables[4].Replace("(", "[").Replace(")", "]"));
+
+ BG = tables[5];
+ }
+ catch (Exception exception)
+ {
+ Debug.LogError(exception);
+ }
+ }
+}
--
Gitblit v1.8.0