diff --git a/server/tools/protobuild/cs_proto.proto b/server/tools/protobuild/cs_proto.proto index ca9d9ab..ce79c99 100644 --- a/server/tools/protobuild/cs_proto.proto +++ b/server/tools/protobuild/cs_proto.proto @@ -155,7 +155,7 @@ message MFChatMsg optional MFUserInfo sender = 2; //发送者 optional MFUserInfo receiver = 3; //接收者 optional int32 chat_channel = 4; //聊天频道 - optional int32 msg_type = 5; //消息内容 0:文本消息(json) 1:自定义协议 (json) 2:纯文本(但是任会做屏蔽字替换) + optional int32 msg_type = 5; //消息类型 0:文本消息(json) 1:自定义协议 (json) 2:纯文本(但是任会做屏蔽字替换) optional string msg_body = 6; //消息内容(json类型里的字段!开头的会做屏蔽替换) optional int32 send_time = 7; //消息发送时间 } @@ -675,7 +675,7 @@ message CMSendChatMsg { optional int32 chat_channel = 1; //聊天频道 1: 世界 2:好友 3:战队 optional string target = 2; //目标 - optional int32 msg_type = 3; //消息类型 0:文本消息 + optional int32 msg_type = 3; ////消息类型 0:文本消息(json) 1:自定义协议 (json) 2:纯文本(但是任会做屏蔽字替换) optional string msg_body = 4; //消息内容 }