guodong 2 лет назад
Родитель
Сommit
d73ed81878
1 измененных файлов с 10 добавлено и 0 удалено
  1. 10 0
      GameClient/Assets/Game/HotUpdate/Data/LeagueDataManager.cs

+ 10 - 0
GameClient/Assets/Game/HotUpdate/Data/LeagueDataManager.cs

@@ -89,6 +89,16 @@ namespace GFGGame
             }
             return LeaguePos.Member;
         }
+
+        public string GetMyLeagueName()
+        {
+            if (LeagueDataManager.Instance.LeagueData == null)
+            {
+                return "";
+            }
+            return LeagueDataManager.Instance.LeagueData.Name;
+        }
+
         // //判断一个玩家是否是会长副会长
         // public bool CheckPlayerIsLeader()
         // {