private void HandleSendChatFeedback(byte[] data)
        {
            SendChatS2C feedback = ProtobufUtils.Deserialize <SendChatS2C>(data);

            if (feedback.result)
            {
                if (currnetChatConsumptionType == ChatConsumptionType.ChatItem)
                {
                    view.HideHornPanel();
                }

                if (view.currentChatTag == ChatMainView.ChatTag.PrivateChat)
                {
                    ChatDataStruct chatData = new ChatDataStruct();

                    ChatPlayerInfo chatPlayerInfo = new ChatPlayerInfo();
                    chatPlayerInfo.name     = dataManager.GetPlayerNickName();
                    chatPlayerInfo.portrait = dataManager.GetPlayerHeadIcon();
                    chatPlayerInfo.level    = dataManager.GetPlayerLevel();
                    chatPlayerInfo.playerId = currentChatId;

                    chatData.chatPlayerInfo = chatPlayerInfo;
                    chatData.message        = currentChatContent;
                    chatData.playerId       = currentChatId;

                    AddPrivateChatData(currentChatId, chatData);
                    view.ResfresPrivateChatItemData(GetPrivateChatData(currentChatId));
                }
            }
        }
        private void HandleSendChatFeedback(byte[] data)
        {
            SendChatS2C feedback = ProtobufUtils.Deserialize <SendChatS2C>(data);

            if (feedback.result)
            {
                MessageDispatcher.PostMessage(Constants.MessageType.RefreshBagView);
                view.ExitButtonEvent();
            }
        }