From 09bc892c7283df8757a07b646d5af21ddaa263d1 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期四, 06 十一月 2025 18:22:34 +0800
Subject: [PATCH] 164 天子的考验-客户端
---
Main/Config/Configs/GetItemWaysConfig.cs | 115 +++++++++++++++++++++++++++++----------------------------
1 files changed, 59 insertions(+), 56 deletions(-)
diff --git a/Main/Config/Configs/GetItemWaysConfig.cs b/Main/Config/Configs/GetItemWaysConfig.cs
index af31fba..460cc88 100644
--- a/Main/Config/Configs/GetItemWaysConfig.cs
+++ b/Main/Config/Configs/GetItemWaysConfig.cs
@@ -1,56 +1,59 @@
-锘�//--------------------------------------------------------
-// [Author]: YYL
-// [ Date ]: Friday, June 27, 2025
-//--------------------------------------------------------
-
-using System.Collections.Generic;
-using System.IO;
-using System.Threading;
-using System;
-using UnityEngine;
-using LitJson;
-
-public partial class GetItemWaysConfig : ConfigBase<int, GetItemWaysConfig>
-{
-
- public int ID;
- public string name;
- public string Icon;
- public string Text;
- public int OpenpanelId;
- public int FuncOpenId;
- public int ActiveType;
- public int customize;
-
- 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];
-
- Icon = tables[2];
-
- Text = tables[3];
-
- int.TryParse(tables[4],out OpenpanelId);
-
- int.TryParse(tables[5],out FuncOpenId);
-
- int.TryParse(tables[6],out ActiveType);
-
- int.TryParse(tables[7],out customize);
- }
- catch (Exception exception)
- {
- Debug.LogError(exception);
- }
- }
-}
+锘�//--------------------------------------------------------
+// [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 GuideID;
+ 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 GuideID);
+
+ int.TryParse(tables[6],out Type);
+
+ CustomValue = tables[7];
+ }
+ catch (Exception exception)
+ {
+ Debug.LogError(exception);
+ }
+ }
+}
--
Gitblit v1.8.0