yyl
2025-09-11 c3525dadcaa037816b654a6bb706284bbbf51af3
Main/System/Team/TeamBase.cs
@@ -295,6 +295,18 @@
        return -1; // No empty position
    }
    public int GetPosition(string guid)
    {
        foreach (var hero in serverHeroes)
        {
            if (hero != null && hero.guid == guid)
            {
                return hero.positionNum;
            }
        }
        return  -1;
    }
    //  布阵接口
    private void SetTeamHero(int posNum, TeamHero hero)
    {