private void EGMI_ACK_CHAT(MsgHead head, MemoryStream stream) { AFMsg.ReqAckPlayerChat xReqAckChat = ReqAckPlayerChat.Parser.ParseFrom(stream);// new AFMsg.ReqAckPlayerChat(); //ReceiveMsg(stream, ref xReqAckChat); mxPlayerNet.aChatMsgList.Add(PBToAF(xReqAckChat.ChatId).ToString() + ":" + xReqAckChat.ChatInfo); }
public void RequireChat(AFCoreEx.AFIDENTID objectID, AFCoreEx.AFIDENTID targetID, int nType, string strData) { AFMsg.ReqAckPlayerChat xData = new AFMsg.ReqAckPlayerChat(); xData.ChatId = AFToPB(targetID); xData.ChatType = (AFMsg.ReqAckPlayerChat.Types.EGameChatType)nType; xData.ChatInfo = strData; SendMsg(objectID, AFMsg.EGameMsgID.EgmiReqChat, xData); }