少年修仙传客户端代码仓库
client_Hale
2018-09-25 f2cd8cf71a54e251e5f507c7d69c6f91f90e5074
System/Chat/ChatTip.cs
@@ -145,7 +145,7 @@
    private void OnChatClick()
    {
        if (WindowCenter.Instance.CheckOpen<ChatWin>() || WindowCenter.Instance.CheckOpen<SocialWin>())
        if (WindowCenter.Instance.CheckOpen<ChatWin>())
        {
            return;
        }
@@ -154,9 +154,6 @@
        if (mapId == 31230)
        {
            ChatCtrl.Inst.presentChatType = ChatInfoType.Fairy;
            WindowCenter.Instance.CloseImmediately<MainInterfaceWin>();
            WindowCenter.Instance.Open<SocialWin>();
            return;
        }
        WindowCenter.Instance.Open<ChatWin>();
    }
@@ -214,7 +211,7 @@
    void OnChatDataClick(ChatData data)
    {
        if (WindowCenter.Instance.CheckOpen<ChatWin>() || WindowCenter.Instance.CheckOpen<SocialWin>())
        if (WindowCenter.Instance.CheckOpen<ChatWin>())
        {
            return;
        }
@@ -224,20 +221,7 @@
        {
            ChatCtrl.Inst.presentChatType = ChatInfoType.Fairy;
        }
        switch (ChatCtrl.Inst.presentChatType)
        {
            case ChatInfoType.Team:
                WindowCenter.Instance.CloseImmediately<MainInterfaceWin>();
                WindowCenter.Instance.Open<SocialWin>(false, 2);
                break;
            case ChatInfoType.Fairy:
                WindowCenter.Instance.CloseImmediately<MainInterfaceWin>();
                WindowCenter.Instance.Open<SocialWin>();
                break;
            default:
                WindowCenter.Instance.Open<ChatWin>();
                break;
        }
        WindowCenter.Instance.Open<ChatWin>();
    }
    void OnRefreshChatTip(ChatInfoType type)