Merge branch 'master' of 60.1.1.230:backend/jieling_protocol

master_huanxiang
wangyuan 2019-09-03 14:53:52 +08:00
commit 791d30d8be
3 changed files with 39 additions and 0 deletions

View File

@ -627,4 +627,10 @@ option optimize_for = SPEED;
message StrongerInfo{
optional int32 curScore = 1;
optional int32 maxScore = 2;
}
message QuestionOptions{
optional string content = 1; //
optional int32 type = 2; //0 1 2
repeated string options =3;//
}

View File

@ -358,6 +358,8 @@ enum MessageType{
GET_PHONE_REWARD_REQUEST = 1664;//
GET_PHONE_REWARD_RESPONSE = 1665;
GET_QUESTION_REWARD_REQUEST = 1666;//
GET_QUESTION_REWARD_RESPONSE = 1667;
// H 10700
HERO_RAND_REQQUEST = 10701;
@ -441,6 +443,7 @@ enum MessageType{
PLAYER_BACKCINFO_INDICATION = 11504;//
// Q 11600
QUESTION_INDICATION = 11600;//
// R 11700
RECONNECT_REQUEST = 11700; //
RECONNECT_RESPONSE = 11701;
@ -599,6 +602,9 @@ enum MessageType{
UPDATE_PHONE_INFO_REQUEST = 12013; //
UPDATE_PHONE_INFO_RESPONSE = 12014;
UPDATE_QUESTION_REQUEST = 12015; //
UPDATE_QUESTION_RESPONSE = 12016;
// V 12100
VIEW_FIGHTREPLAY_REQUEST = 12100; //

View File

@ -514,3 +514,30 @@ import "CommonProto.proto";
message GetToBeStrongerResponse{
repeated StrongerInfo infos = 1;
}
message QuestionIndication{
optional int32 state = 1; //state -1 1
}
message GetQuestionRequest{
}
message GetQuestionResponse{
optional string id= 1; //id
optional string questDes= 2; //
optional string reward= 3; //
optional string start= 4; //
optional string end= 5; //
repeated QuestionOptions questOptions =6; //
}
message upDataQuestionRequest{
repeated string options = 1; // ABCD
}
message upDataQuestionResponse{
optional int32 result = 1;//-1 0
}