From 69fdc58cb97714f856df268f08451f2ba7e5ecf2 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 21 一月 2026 10:40:56 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/Hero/HeroInfo.Lineup.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Main/System/Hero/HeroInfo.Lineup.cs b/Main/System/Hero/HeroInfo.Lineup.cs
index 7c23aa8..21c35d8 100644
--- a/Main/System/Hero/HeroInfo.Lineup.cs
+++ b/Main/System/Hero/HeroInfo.Lineup.cs
@@ -5,12 +5,12 @@
 //闃靛甯冮樀
 public partial class HeroInfo
 {
-	public Dictionary<TeamType, KeyValuePair<int, int>> GetTeamTypeShapeTypePositionDict()
+	public Dictionary<int, KeyValuePair<int, int>> GetTeamTypeShapeTypePositionDict()
 	{
 		//  鑻遍泟褰撳墠鎵�鏈夊湪鐨勯槦浼�
 		List<int> heroTeams = itemHero.GetUseData(81);
 
-		Dictionary<TeamType, KeyValuePair<int, int>> teamTypeShapeTypePositionDict = new Dictionary<TeamType, KeyValuePair<int, int>>();
+		Dictionary<int, KeyValuePair<int, int>> teamTypeShapeTypePositionDict = new Dictionary<int, KeyValuePair<int, int>>();
 		foreach (var teamMsg in heroTeams)
 		{
 			// 鎵�鍦ㄩ樀瀹逛俊鎭垪琛� [闃靛绫诲瀷*10000+闃靛瀷绫诲瀷*100+浣嶇疆缂栧彿, ...] 
@@ -18,7 +18,7 @@
 			int shapeType = (teamMsg % 10000) / 100;
 			int positionIndex = teamMsg % 100;
 
-			if (teamTypeShapeTypePositionDict.ContainsKey((TeamType)teamType))
+			if (teamTypeShapeTypePositionDict.ContainsKey(teamType))
 			{
 				//  闃熶紞绫诲瀷鐩稿悓锛屾洿鏂伴樀鍨嬪拰浣嶇疆
 				Debug.LogError("褰撳墠鑻遍泟鎷ユ湁涓や釜鐩稿悓鐨勯槦浼嶄俊鎭�: " + teamType + " " + shapeType + " " + positionIndex + ", hero guid is " + itemHero.guid);
@@ -27,7 +27,7 @@
 			{
 				//  闃熶紞绫诲瀷涓嶅悓锛屾坊鍔犳柊鐨�
 				KeyValuePair<int, int> shapeTypePosition = new KeyValuePair<int, int>(shapeType, positionIndex);
-				teamTypeShapeTypePositionDict.Add((TeamType)teamType, shapeTypePosition);
+				teamTypeShapeTypePositionDict.Add(teamType, shapeTypePosition);
 			}
 		}
 

--
Gitblit v1.8.0