Ver código fonte

Merge branch 'master' of http://10.108.64.190:3000/gfg/client

zhaoyang 2 anos atrás
pai
commit
de6cd1c15d

+ 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()
         // {