diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index a312a00..e9e2022 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -107,6 +107,7 @@ option optimize_for = SPEED; optional int32 itemId = 1; optional string state = 2; optional int32 missionStep = 3; + optional bool isOpen = 4; } diff --git a/protos/FightInfoProto.proto b/protos/FightInfoProto.proto index 676b020..a843d89 100644 --- a/protos/FightInfoProto.proto +++ b/protos/FightInfoProto.proto @@ -37,7 +37,10 @@ import "CommonProto.proto"; } // 战斗结束 message FightEndRequest { - optional int32 monsterGroupId = 1; // 怪物组id + // 怪物组id(接战斗验证后可删除) + optional int32 monsterGroupId = 1; + // 战斗序列帧 14#1#0 + repeated string frames = 2; } message FightEndResponse { // 获得的道具 diff --git a/protos/MapInfoProto.proto b/protos/MapInfoProto.proto index fa95557..2bdd016 100644 --- a/protos/MapInfoProto.proto +++ b/protos/MapInfoProto.proto @@ -49,6 +49,8 @@ import "CommonProto.proto"; repeated HeroFightInfo heroFightInfos = 5; // 怪物属性 repeated Monster monsterList = 6; + // 剩余步数 + optional int32 leftStep = 7; } // 更新地图状态 diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 02914fb..f8c1e5f 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -114,6 +114,9 @@ enum MessageType{ MISSION_TAKE_REWARD_REQUEST = 11212; // 领取任务奖励 MISSION_TAKE_REWARD_RESPONSE = 11213; + + MISSION_OPEN_REQUEST = 11214; // 开启任务 + MISSION_OPEN_RESPONSE = 11215; // N 11300 // O 11400 // P 11500 diff --git a/protos/MissionInfoProto.proto b/protos/MissionInfoProto.proto index 56c2d5e..b61c226 100644 --- a/protos/MissionInfoProto.proto +++ b/protos/MissionInfoProto.proto @@ -17,3 +17,7 @@ import "CommonProto.proto"; optional Drop Drop = 1; } + // 开启任务 + message OpenMissionRequest{ + optional int32 missionId = 1; // 要开启任务 id + } \ No newline at end of file