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/StoreConfig.cs |  200 ++++++++++++++++++++++++-------------------------
 1 files changed, 99 insertions(+), 101 deletions(-)

diff --git a/Main/Config/Configs/StoreConfig.cs b/Main/Config/Configs/StoreConfig.cs
index a56dd90..492a15d 100644
--- a/Main/Config/Configs/StoreConfig.cs
+++ b/Main/Config/Configs/StoreConfig.cs
@@ -1,56 +1,54 @@
-锘�//--------------------------------------------------------
-//    [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 StoreConfig : ConfigBase<int, StoreConfig>
-{
-
-    public int ID;
-	public int ShopType;
-	public int[] SecondType;
-	public int ShopSort;
-	public int ItemID;
-	public int ItemCnt;
-	public int IsBind;
-	public string ItemListEx;
-	public int MainItemID;
-	public string JobItem;
-	public int RefreshType;
-	public int[] VIPLV;
-	public int LV;
-	public int LVSee;
-	public int[] GoumaiNumber;
-	public int MoneyType;
-	public int MoneyNumber;
-	public int MoneyOriginal;
-	public int LimitValue;
-	public string SalesStatus;
-	public int TheOnlyShop;
-	public int RemindSuccess;
-	public int IsHideSellOut;
-
-    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); 
-
-			int.TryParse(tables[1],out ShopType); 
-
+锘�//--------------------------------------------------------
+//    [Author]:           YYL
+//    [  Date ]:           2025骞�7鏈�26鏃�
+//--------------------------------------------------------
+
+using System.Collections.Generic;
+using System;
+using UnityEngine;
+using LitJson;
+
+public partial class StoreConfig : ConfigBase<int, StoreConfig>
+{
+
+    public int ID;
+	public int ShopType;
+	public int[] SecondType;
+	public int ShopSort;
+	public int ItemID;
+	public int ItemCnt;
+	public int IsBind;
+	public string ItemListEx;
+	public int MainItemID;
+	public string JobItem;
+	public int RefreshType;
+	public int[] VIPLV;
+	public int LV;
+	public int LVSee;
+	public int[] GoumaiNumber;
+	public int MoneyType;
+	public int MoneyNumber;
+	public int MoneyOriginal;
+	public int LimitValue;
+	public string SalesStatus;
+	public int TheOnlyShop;
+	public int RemindSuccess;
+	public int IsHideSellOut;
+
+    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); 
+
+			int.TryParse(tables[1],out ShopType); 
+
 			if (tables[2].Contains("["))
 			{
 				SecondType = JsonMapper.ToObject<int[]>(tables[2]);
@@ -63,24 +61,24 @@
 				{
 					 int.TryParse(SecondTypeStringArray[i],out SecondType[i]);
 				}
-			}
-
-			int.TryParse(tables[3],out ShopSort); 
-
-			int.TryParse(tables[4],out ItemID); 
-
-			int.TryParse(tables[5],out ItemCnt); 
-
-			int.TryParse(tables[6],out IsBind); 
-
-			ItemListEx = tables[7];
-
-			int.TryParse(tables[8],out MainItemID); 
-
-			JobItem = tables[9];
-
-			int.TryParse(tables[10],out RefreshType); 
-
+			}
+
+			int.TryParse(tables[3],out ShopSort); 
+
+			int.TryParse(tables[4],out ItemID); 
+
+			int.TryParse(tables[5],out ItemCnt); 
+
+			int.TryParse(tables[6],out IsBind); 
+
+			ItemListEx = tables[7];
+
+			int.TryParse(tables[8],out MainItemID); 
+
+			JobItem = tables[9];
+
+			int.TryParse(tables[10],out RefreshType); 
+
 			if (tables[11].Contains("["))
 			{
 				VIPLV = JsonMapper.ToObject<int[]>(tables[11]);
@@ -93,12 +91,12 @@
 				{
 					 int.TryParse(VIPLVStringArray[i],out VIPLV[i]);
 				}
-			}
-
-			int.TryParse(tables[12],out LV); 
-
-			int.TryParse(tables[13],out LVSee); 
-
+			}
+
+			int.TryParse(tables[12],out LV); 
+
+			int.TryParse(tables[13],out LVSee); 
+
 			if (tables[14].Contains("["))
 			{
 				GoumaiNumber = JsonMapper.ToObject<int[]>(tables[14]);
@@ -111,27 +109,27 @@
 				{
 					 int.TryParse(GoumaiNumberStringArray[i],out GoumaiNumber[i]);
 				}
-			}
-
-			int.TryParse(tables[15],out MoneyType); 
-
-			int.TryParse(tables[16],out MoneyNumber); 
-
-			int.TryParse(tables[17],out MoneyOriginal); 
-
-			int.TryParse(tables[18],out LimitValue); 
-
-			SalesStatus = tables[19];
-
-			int.TryParse(tables[20],out TheOnlyShop); 
-
-			int.TryParse(tables[21],out RemindSuccess); 
-
-			int.TryParse(tables[22],out IsHideSellOut); 
-        }
-        catch (Exception exception)
-        {
-            Debug.LogError(exception);
-        }
-    }
-}
+			}
+
+			int.TryParse(tables[15],out MoneyType); 
+
+			int.TryParse(tables[16],out MoneyNumber); 
+
+			int.TryParse(tables[17],out MoneyOriginal); 
+
+			int.TryParse(tables[18],out LimitValue); 
+
+			SalesStatus = tables[19];
+
+			int.TryParse(tables[20],out TheOnlyShop); 
+
+			int.TryParse(tables[21],out RemindSuccess); 
+
+			int.TryParse(tables[22],out IsHideSellOut); 
+        }
+        catch (Exception exception)
+        {
+            Debug.LogError(exception);
+        }
+    }
+}

--
Gitblit v1.8.0