From 9203f8bd22b3cf3fa9bfd537fd16b2e86d7223b1 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 19 九月 2018 11:27:14 +0800
Subject: [PATCH] 3564【前端】队伍和仙盟频道移动至仙缘中
---
System/Chat/ChatCenter.cs | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/System/Chat/ChatCenter.cs b/System/Chat/ChatCenter.cs
index 05adb6c..f9e9682 100644
--- a/System/Chat/ChatCenter.cs
+++ b/System/Chat/ChatCenter.cs
@@ -46,10 +46,12 @@
var _funcCfg = Config.Instance.Get<FuncConfigConfig>("BugleItem");
bugleItem = int.Parse(_funcCfg.Numerical1);
chatChannels = new List<ChatInfoType>();
- for (int i = (int)ChatInfoType.System; i <= (int)ChatInfoType.Friend; i++)
- {
- chatChannels.Add((ChatInfoType)i);
- }
+ chatChannels.Add(ChatInfoType.System);
+ chatChannels.Add(ChatInfoType.World);
+ chatChannels.Add(ChatInfoType.Area);
+ chatChannels.Add(ChatInfoType.Invite);
+ chatChannels.Add(ChatInfoType.Trumpet);
+ chatChannels.Add(ChatInfoType.Friend);
}
public event Action<string, bool, bool> UpdateChatValueEvent;
@@ -755,10 +757,10 @@
return;
}
openChatAfterCollect = false;
- if (!WindowCenter.Instance.CheckOpen<ChatWin>())
+ if (!WindowCenter.Instance.CheckOpen<SocialWin>())
{
ChatCtrl.Inst.presentChatType = ChatInfoType.Fairy;
- WindowCenter.Instance.Open<ChatWin>();
+ WindowCenter.Instance.Open<SocialWin>(false, 2);
}
}
#endregion
--
Gitblit v1.8.0