From b0a5d4688f1af73b5ad03ccc2df11c9aac1523a9 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 29 七月 2025 16:56:23 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/Config/Configs/DienstgradConfig.cs |  140 +++++++++++++++++++++++-----------------------
 1 files changed, 69 insertions(+), 71 deletions(-)

diff --git a/Main/Config/Configs/DienstgradConfig.cs b/Main/Config/Configs/DienstgradConfig.cs
index 7c0f977..1e41202 100644
--- a/Main/Config/Configs/DienstgradConfig.cs
+++ b/Main/Config/Configs/DienstgradConfig.cs
@@ -1,52 +1,50 @@
-锘�//--------------------------------------------------------
-//    [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 DienstgradConfig : ConfigBase<int, DienstgradConfig>
-{
-
-    public int ID;
-	public string Name;
-	public int Type;
-	public int Prescription;
-	public string OutTimeDesc;
-	public int[] LightType;
-	public int[] LightAttribute;
-	public string Image;
-	public string Content;
-	public int[] Skills;
-	public int gotoId;
-	public int missionId;
-	public int order;
-
-    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];
-
-			int.TryParse(tables[2],out Type); 
-
-			int.TryParse(tables[3],out Prescription); 
-
-			OutTimeDesc = tables[4];
-
+锘�//--------------------------------------------------------
+//    [Author]:           YYL
+//    [  Date ]:           2025骞�7鏈�26鏃�
+//--------------------------------------------------------
+
+using System.Collections.Generic;
+using System;
+using UnityEngine;
+using LitJson;
+
+public partial class DienstgradConfig : ConfigBase<int, DienstgradConfig>
+{
+
+    public int ID;
+	public string Name;
+	public int Type;
+	public int Prescription;
+	public string OutTimeDesc;
+	public int[] LightType;
+	public int[] LightAttribute;
+	public string Image;
+	public string Content;
+	public int[] Skills;
+	public int gotoId;
+	public int missionId;
+	public int order;
+
+    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];
+
+			int.TryParse(tables[2],out Type); 
+
+			int.TryParse(tables[3],out Prescription); 
+
+			OutTimeDesc = tables[4];
+
 			if (tables[5].Contains("["))
 			{
 				LightType = JsonMapper.ToObject<int[]>(tables[5]);
@@ -59,8 +57,8 @@
 				{
 					 int.TryParse(LightTypeStringArray[i],out LightType[i]);
 				}
-			}
-
+			}
+
 			if (tables[6].Contains("["))
 			{
 				LightAttribute = JsonMapper.ToObject<int[]>(tables[6]);
@@ -73,12 +71,12 @@
 				{
 					 int.TryParse(LightAttributeStringArray[i],out LightAttribute[i]);
 				}
-			}
-
-			Image = tables[7];
-
-			Content = tables[8];
-
+			}
+
+			Image = tables[7];
+
+			Content = tables[8];
+
 			if (tables[9].Contains("["))
 			{
 				Skills = JsonMapper.ToObject<int[]>(tables[9]);
@@ -91,17 +89,17 @@
 				{
 					 int.TryParse(SkillsStringArray[i],out Skills[i]);
 				}
-			}
-
-			int.TryParse(tables[10],out gotoId); 
-
-			int.TryParse(tables[11],out missionId); 
-
-			int.TryParse(tables[12],out order); 
-        }
-        catch (Exception exception)
-        {
-            Debug.LogError(exception);
-        }
-    }
-}
+			}
+
+			int.TryParse(tables[10],out gotoId); 
+
+			int.TryParse(tables[11],out missionId); 
+
+			int.TryParse(tables[12],out order); 
+        }
+        catch (Exception exception)
+        {
+            Debug.LogError(exception);
+        }
+    }
+}

--
Gitblit v1.8.0