From 5ce1ab35f9e1698baf574e136dc465655dcd53e5 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期六, 05 一月 2019 15:26:45 +0800
Subject: [PATCH] 5725 【前端】【1.5】跨服BOSS开发
---
System/MainInterfacePanel/ChatFrame.cs | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/System/MainInterfacePanel/ChatFrame.cs b/System/MainInterfacePanel/ChatFrame.cs
index 3ba59a0..bb77cb7 100644
--- a/System/MainInterfacePanel/ChatFrame.cs
+++ b/System/MainInterfacePanel/ChatFrame.cs
@@ -40,6 +40,9 @@
RealmModel realmModel { get { return ModelCenter.Instance.GetModel<RealmModel>(); } }
CoinTaskTipModel m_CoinTaskTip;
CoinTaskTipModel coinTaskTip { get { return m_CoinTaskTip ?? (m_CoinTaskTip = ModelCenter.Instance.GetModel<CoinTaskTipModel>()); } }
+
+ CrossServerBossModel crossServerBossModel { get { return ModelCenter.Instance.GetModel<CrossServerBossModel>(); } }
+
public void Init()
{
OneKeyList.Clear();
@@ -80,8 +83,8 @@
OnHeroHandupAIStopPassive();
}
}
-
-
+
+ _FriendsBtn.gameObject.SetActive(crossServerBossModel.IsAtCrossServerBossMap());
}
public void OnAfterOpen()
@@ -210,6 +213,7 @@
WindowCenter.Instance.Open<SettingUpWin>(false, 3);
}
+
private void TaskButton()
{
@@ -220,6 +224,7 @@
coinTaskTip.IsPopup = false;
}
}
+
private void TeamBtn()
{
WindowCenter.Instance.Close<MainInterfaceWin>();
--
Gitblit v1.8.0