战力排行

master_huanxiang
zhangshanxue 2019-08-02 13:26:05 +08:00
parent d657ae3822
commit 9b5246ce0a
3 changed files with 21 additions and 6 deletions

View File

@ -496,3 +496,12 @@ option optimize_for = SPEED;
optional string heroId = 1; //英雄Id
optional int32 hp = 2;//英雄血量
}
//战力排行
message UseForceInfo{
optional string name = 1;
optional int32 leve = 2;
optional int32 force = 3;
optional int32 rank =4;
}

View File

@ -237,6 +237,9 @@ enum MessageType{
GET_TOWER_RANK_BY_PAGE_REQUEST = 16644; //获取试炼副本排行
GET_TOWER_RANK_BY_PAGE_RESPONSE = 16645;
GETF_FORCE_RANK_INFO_REQUEST = 16646;
GETF_FORCE_RANK_INFO_RESPONSE = 16647;
// H 10700
HERO_RAND_REQQUEST = 10701;
@ -252,8 +255,6 @@ enum MessageType{
LOGIN_REQUEST = 11100; // 登陆或注册
LOGIN_RESPONSE = 11101;
LUCKCAT_REWARD_RESPONSE = 11102;//招财猫
// M 11200
MAP_ENTER_REQUEST = 11200; // 进入地图
MAP_ENTER_RESPONSE = 11201;

View File

@ -412,10 +412,15 @@ import "CommonProto.proto";
repeated int32 closeActivityId = 2;
}
//招财猫
message LuckCatRewardResponse{
optional Drop drop = 1;
optional int32 missionId = 2;
message GetForceRankInfoRequest{
optional int32 page = 1; //页数
optional int32 activiteId = 2; //活动ID
}
message GetForceRankInfoResponse{
repeated UseForceInfo useForceInfo = 1;
optional int32 myForce = 2; //我的战力
optional int32 myRank =3 ;// 我的排名
}