diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 59650e1..dfd41f8 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -103,7 +103,6 @@ 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 5277b3a..e5fdb34 100644 --- a/protos/FightInfoProto.proto +++ b/protos/FightInfoProto.proto @@ -59,6 +59,8 @@ import "CommonProto.proto"; repeated int32 remainHpList = 3; // 更新主线任务 repeated Mission mission = 4; + // 探索地图剩余时间(秒) + optional int32 leftTime = 5; } // 扫荡开始 message SweepRightRequest { diff --git a/protos/MapInfoProto.proto b/protos/MapInfoProto.proto index ad542f7..c0ec715 100644 --- a/protos/MapInfoProto.proto +++ b/protos/MapInfoProto.proto @@ -23,14 +23,16 @@ import "CommonProto.proto"; optional int32 curXY = 2; // 所用英雄 repeated HeroInfo heroInfos = 3; - // 剩余步数 - optional int32 leftStep = 4; + // 探索地图剩余时间(秒) + optional int32 leftTime = 4; // 临时背包 optional Drop temporaryItems = 5; // buff repeated FoodBuffer foodBuffers = 6; // 走过的格子 repeated int32 wakeCells = 7; + // 任务 + optional Mission missions = 8; // 所有任务 } // 更新事件 @@ -49,8 +51,8 @@ import "CommonProto.proto"; optional Drop drop = 3; // 更新主线任务 repeated Mission mission = 4; - // 剩余步数 - optional int32 leftStep = 5; + // 探索地图剩余时间(秒) + optional int32 leftTime = 5; } // 更新地图状态 @@ -64,8 +66,8 @@ import "CommonProto.proto"; } message MapUpdateResponse{ optional int32 eventId = 1; - // 剩余步数 - optional int32 leftStep = 2; + // 探索地图剩余时间(秒) + optional int32 leftTime = 2; } // 出地图 @@ -97,6 +99,14 @@ import "CommonProto.proto"; repeated MapAccomplishInfo mapAccomplishInfo= 1; // 地图探索详情 } - message getAllLevelDifficultyInfosResponse{ //关卡信息 + // 开始探索回复 + message MapStartExploreResponse{ + // 探索地图剩余时间(秒) + optional int32 leftTime = 1; + } + + //关卡信息 + message getAllLevelDifficultyInfosResponse{ repeated LevelDifficultyInfos levelDifficultyInfos = 1; } + diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 02a1d26..c405e5b 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -113,14 +113,8 @@ enum MessageType{ MAIL_TAKE_MAIL_ITEM_REQUEST = 11208; //领取附件 MAIL_TAKE_MAIL_ITEM_RESPONESE = 11209; - MISSION_GET_ALL_REQUEST = 11210; // 获取任务 - MISSION_GET_ALL_RESPONSE = 11211; - - MISSION_TAKE_REWARD_REQUEST = 11212; // 领取任务奖励 - MISSION_TAKE_REWARD_RESPONSE = 11213; - - MISSION_OPEN_REQUEST = 11214; // 开启任务 - MISSION_OPEN_RESPONSE = 11215; + MAP_START_EXPLORE_REQUEST = 11210; // 开始探索 + MAP_START_EXPLORE_RESPONSE = 11211; // N 11300 // O 11400 // P 11500 diff --git a/protos/MissionInfoProto.proto b/protos/MissionInfoProto.proto deleted file mode 100644 index b61c226..0000000 --- a/protos/MissionInfoProto.proto +++ /dev/null @@ -1,23 +0,0 @@ -package com.ljsd.jieling.protocols; - -option optimize_for = SPEED; - -import "CommonProto.proto"; - - // 获取任务信息 - message MissionGetAllResponse{ - repeated Mission missions = 1; // 所有任务 - } - - // 领取任务奖励 - message TakeMissionRewardRequest{ - optional int32 missionId = 1; // 要领取奖励的任务id - } - message TakeMissionResponse{ - optional Drop Drop = 1; - } - - // 开启任务 - message OpenMissionRequest{ - optional int32 missionId = 1; // 要开启任务 id - } \ No newline at end of file