From dd9651f8f7de0e2cca83dc6dc5c56578badc93d6 Mon Sep 17 00:00:00 2001 From: gaojie Date: Wed, 5 Jun 2019 15:39:39 +0800 Subject: [PATCH] fix --- protos/ChatProto.proto | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/protos/ChatProto.proto b/protos/ChatProto.proto index b12118e..654f46c 100644 --- a/protos/ChatProto.proto +++ b/protos/ChatProto.proto @@ -2,23 +2,9 @@ package com.ljsd.jieling.protocols; option optimize_for = SPEED; -message GetChatMessageInfoRequest { - optional int32 chatType = 1; // 类型 0:系统 1:世界 2:公会 3 好友 -} - -message GetChatMessageInfoResponse { - repeated ChatInfo chatInfo = 1; - -} - -message SendChatInfoReqest { - optional int32 chatType = 1; // 类型 0:系统 1:世界 2:公会 3 好友 - optional string message = 2; //聊天内容 - optional int32 friendId = 3; // 接受聊天的好友id -} message ChatInfo{ - optional int32 senderId = 1;//发送用户id + optional int32 senderId = 1;//发送用户id optional string senderName = 2; //发送用户名字 optional int32 senderlevel = 3;//发送者等级 optional int32 sendervip = 5;//发送者vip等级 @@ -32,4 +18,19 @@ message ChatInfo{ optional int32 endTime = 17; //结束时间 optional int32 PriorityLevel =18 ;// 优先级 optional int32 Frequency = 19; //频率(s) +} + +message GetChatMessageInfoRequest { + optional int32 chatType = 1; // 类型 0:系统 1:世界 2:公会 3 好友 +} + +message GetChatMessageInfoResponse { + repeated ChatInfo chatInfo = 1; + +} + +message SendChatInfoReqest { + optional int32 chatType = 1; // 类型1:世界 2:公会 3 好友 + optional string message = 2; //聊天内容 + optional int32 friendId = 3; // 接受聊天的好友id } \ No newline at end of file