master_huanxiang
gaojie 2019-06-05 14:35:30 +08:00
parent c61e623dcc
commit b4c8f0be9f
2 changed files with 28 additions and 58 deletions

View File

@ -2,66 +2,34 @@ package com.ljsd.jieling.protocols;
option optimize_for = SPEED;
import "CommonProto.proto";
message GetChatMessageInfoRequest {
optional int32 chatType = 1; // 0: 1: 2: 3
}
message GetChatMessageInfoResponse {
repeated ChatInfo chatInfo = 1;
message ChatIndication{
}
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 senderServerId = 2;//id
optional string senderName = 3; //
optional int32 senderlevel = 4;//
optional string senderimg = 5;//
optional int32 sendervip = 6;//vip
optional uint64 times = 7;//
optional int32 msgType = 8;//(0:;1:;2:3: 4)
optional string msg = 9;//
optional string voiceMsg = 10;//
optional int32 voiceTime = 11;//
optional int32 playCount = 12;//
optional int32 targetId = 13;// Id
optional string unionID = 14; // id
optional int32 frame = 15; //
optional int32 isFamilySystem = 16; // 1: 2:IDIP
optional string senderName = 2; //
optional int32 senderlevel = 3;//
optional int32 sendervip = 5;//vip
optional uint64 times = 6;//
optional string msg = 7;//
optional string head = 8; //
optional string frame = 9; //
//
optional int32 type = 15; //0: 1:
optional int32 startTime = 16 ; //
optional int32 endTime = 17; //
optional int32 PriorityLevel =18 ;//
optional int32 Frequency = 19; //(s)
optional int32 IsSystem = 20; // 0: 1:
optional int32 head = 21; //
optional string clientVersion = 22; //
optional uint64 messageId=23; //id
optional string arenaIcon=24; //arenaIcon
optional int32 arenaRank=25; //arenaIcon
optional int32 msgChildType =26; //(0-() 1-)
}
message SendChatInfoRequest{
optional int32 myServerId = 1; // Id
optional int32 targetUserId = 2; // Id
optional int32 targetServerId = 3; // Id
optional int32 messageType = 4; //
optional string message = 5; //
optional string voiceMsg = 6; //
optional int32 voiceTime = 7; //
optional string ClientVersion = 8; //
optional string UserIP = 9; //IP
optional int32 msgChildType =10; //
}
message GetChatInfoRequest {
optional uint64 messgeId = 1; //id
}
message GetChatInfoResponse {
repeated ChatIndication chatIndication =1;
}
message SwitchWorldChannelRequest{
optional uint32 channelId = 1; //
}
message SwitchWorldChannelResponse{
optional int32 onlineNunms = 1; //线
}

View File

@ -136,6 +136,9 @@ enum MessageType{
GET_VIP_MISSION_REQUEST = 16632; //vip
GET_VIP_MISSION_REPONSE = 16633;
GET_CHAT_MESSAGE_REQUEST = 16634; //
GET_CHAT_MESSAGE_REPONSE = 16635;
// H 10700
HERO_RAND_REQQUEST = 10701;
HERO_RAND_RESPONSE = 10702;
@ -205,7 +208,7 @@ enum MessageType{
SWITCH_WORLDCHANNEL_REQUEST = 11802; //
SWITCH_WORLDCHANNEL_RESPONSE = 11803;
SEND_CHAT_INFO_REQUEST = 11804;
SEND_CHAT_INFO_REQUEST = 11804; //
SEND_CHAT_INFO_RESPONSE= 11805;
SEND_RED_POINT_INDICATION = 11806; //
@ -222,7 +225,6 @@ enum MessageType{
STORE_GOODS_REFRESH_REQUEST = 11813; //
STORE_GOODS_REFRESH_RESPONSE= 11814;
RECHARGE_INFO_REQUEST = 11815; //
RECHARGE_INFO_RESPONSE = 11816;