guodong преди 2 години
родител
ревизия
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()
         // {