达人协议
parent
6c8ca3156f
commit
f6f3d363d7
|
|
@ -515,3 +515,10 @@ option optimize_for = SPEED;
|
|||
optional string info = 3;
|
||||
optional int32 type = 4;//1为设置标记、2为删除标记
|
||||
}
|
||||
|
||||
//达人排行
|
||||
message ExpertInfo{
|
||||
optional string name = 1;
|
||||
optional int32 score = 2;
|
||||
optional int32 rank =3;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -291,6 +291,9 @@ enum MessageType{
|
|||
|
||||
GETF_FORCE_RANK_INFO_REQUEST = 16646;
|
||||
GETF_FORCE_RANK_INFO_RESPONSE = 16647;
|
||||
|
||||
GETF_EXPERT_RANK_INFO_REQUEST = 16648;
|
||||
GETF_EXPERT_RANK_INFO_RESPONSE = 16649;
|
||||
|
||||
// H 10700
|
||||
HERO_RAND_REQQUEST = 10701;
|
||||
|
|
|
|||
|
|
@ -427,4 +427,16 @@ import "CommonProto.proto";
|
|||
message ActivityUpateProgressIndication{
|
||||
required ActivityInfo activityInfo =1;
|
||||
}
|
||||
|
||||
|
||||
message GetExpertInfoRequest{
|
||||
optional int32 activiteId = 1; //活动ID
|
||||
}
|
||||
|
||||
message GetExpertInfoResponse{
|
||||
repeated ExpertInfo expert = 1;
|
||||
optional int32 myScore = 2; //我的分数
|
||||
optional int32 myRank =3 ;// 我的排名
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue