瀏覽代碼

联盟名字

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