yyl
2025-07-29 6577831ab2883bd05448ce0b1f9f913a9944fc78
Main/System/Team/TeamManager.cs
@@ -35,7 +35,14 @@
      //  英雄当前所有在的队伍
      List<int> heroTeams = heroInfo.itemHero.GetUseData(81);
      //  当前英雄所在的队伍信息 <队伍类型, <队形, 位置>>
      Dictionary<TeamType, KeyValuePair<int, int>> teamTypeShapeTypePositionDict = new Dictionary<TeamType, KeyValuePair<int, int>>();
      //  处理当前记录在英雄信息里的队伍信息
      if (null != heroTeams)
      {
      foreach (var teamMsg in heroTeams)
      {
         // 所在阵容信息列表 [阵容类型*10000+阵型类型*100+位置编号, ...] 
@@ -55,10 +62,12 @@
            teamTypeShapeTypePositionDict.Add((TeamType)teamType, shapeTypePosition);
         }
      }
      }
      //  遍历当前所有队伍 判断当前队伍里是否有该英雄
      //  如果有的话 读取一下当前是否该英雄还在队伍里 位置是否发生变化
      //  或者是阵型发生变化 或者单纯的英雄发生变化
      //  如果有的话 根据英雄里的信息当前是否该英雄还在队伍里 是否发生变化
      //     =>1.阵型发生变化 2.位置发生变化
      //  如果没有的话 就说明该英雄被移出队伍了
      foreach (var team in teamDict.Values)
      {