快速战斗

master_huanxiang
jiahuiwen 2019-04-18 15:20:16 +08:00
parent 3e7059c333
commit ebbd3145ec
3 changed files with 24 additions and 3 deletions

View File

@ -52,9 +52,9 @@ import "CommonProto.proto";
message FightEndResponse {
//战斗结果
optional int32 result = 1;
// 获得的道具
// 事件获得的道具
optional Drop enventDrop = 2;
// 任务获得的道具
optional Drop missionDrop = 3;
//英雄剩余血量
repeated int32 remainHpList = 4;
@ -63,6 +63,24 @@ import "CommonProto.proto";
// 探索地图剩余时间(秒)
optional int32 leftTime = 6;
}
// 快速战斗
message FastFightResponse {
//战斗结果
optional int32 result = 1;
// 事件获得的道具
optional Drop enventDrop = 2;
// 任务获得的道具
optional Drop missionDrop = 3;
//英雄剩余血量
repeated int32 remainHpList = 4;
// 更新主线任务
optional Mission mission = 5;
// 探索地图剩余时间(秒)
optional int32 leftTime = 6;
}
// 扫荡开始
message SweepRightRequest {
optional int32 type = 1; //1 :关卡

View File

@ -106,7 +106,7 @@ import "CommonProto.proto";
message MapRankInfo{
optional int32 uid = 1;
optional int32 forces = 2;
repeated Hero heroIds = 3;
repeated int32 heroIds = 3;
optional string head = 4;
optional int32 level = 5;
optional int32 rank = 6;

View File

@ -121,6 +121,9 @@ enum MessageType{
MAP_SWEEP_REQUEST = 11216; // 扫荡三星通关副本
MAP_SWEEP_RESPONSE = 11217;
MAP_FAST_FIGHT_REQUEST = 11218; // 快速战斗结算
MAP_FAST_FIGHT_RESPONSE = 11219;
// N 11300
// O 11400
// P 11500