副本扫荡,购买挑战次数,获取排行榜

master_huanxiang
jiahuiwen 2019-04-17 19:01:54 +08:00
parent a43111e382
commit f39ccb0ce6
3 changed files with 48 additions and 2 deletions

View File

@ -24,6 +24,8 @@ option optimize_for = SPEED;
optional int32 lastUpdateEnergyTime = 10 ;// -1
optional int32 serverTime = 11; //
optional int32 dayFightCount = 12; //
optional int32 buyFightCount = 13; //
}

View File

@ -37,8 +37,8 @@ import "CommonProto.proto";
optional int32 reviveTime = 9;
//
optional int32 dieCount = 10;
repeated ExploreDetail exploreDetail =11; //
//
repeated ExploreDetail exploreDetail = 11;
}
//
@ -98,3 +98,38 @@ import "CommonProto.proto";
repeated LevelDifficultyInfos levelDifficultyInfos = 1;
}
//
message MapGetRankInfoRequest{
optional int32 mapId = 1;
}
message MapRankInfo{
optional int32 uid = 1;
optional int32 forces = 2;
repeated int32 heroIds = 3;
optional string head = 4;
optional int32 level = 5;
optional int32 rank = 6;
optional int32 time = 7;
optional string name = 8;
}
message MapGetRankInfoResponse{
repeated MapRankInfo mapRankInfo = 1;
}
//
message MapBuyFightCountRequest{
optional int32 buyCount = 1;
}
//
message MapSweepRequest{
optional int32 mapId = 1;
optional int32 sweepCount = 2;
}
message MapSweepResponse{
//
optional Drop drop = 1;
}

View File

@ -112,6 +112,15 @@ enum MessageType{
MAP_START_EXPLORE_REQUEST = 11210; //
MAP_START_EXPLORE_RESPONSE = 11211;
MAP_GET_RANK_INFO_REQUEST = 11212; //
MAP_GET_RANK_INFO_RESPONSE = 11213;
MAP_BUY_FIGHT_COUNT_REQUEST = 11214; //
MAP_BUY_FIGHT_COUNT_RESPONSE = 11215;
MAP_SWEEP_REQUEST = 11216; //
MAP_SWEEP_RESPONSE = 11217;
// N 11300
// O 11400
// P 11500