探索地图

master_huanxiang
xuexinpeng 2021-12-13 14:13:47 +08:00
parent b1516efe6b
commit e85d49065e
3 changed files with 63 additions and 0 deletions

View File

@ -1207,3 +1207,12 @@ option optimize_for = SPEED;
optional string defServerName = 7;//对方服务器名字
}
//探索地图
message ExplorerMapInfo{
optional int32 mapId = 1; //地图id
optional int32 teamId = 2 ; //队伍id
optional int32 hp = 3; //队伍血量
optional int32 exploreTime = 4;//探索时间
}

View File

@ -1373,6 +1373,17 @@ enum MessageType{
WeekCardRewardRequest = 3050032;
WeekCardRewardResponse = 3050033;
WeekCardIndicationInfoResponse = 3050034;
//探索地图
ExplorerMapInfoRequest = 3050040;
ExplorerMapInfoResponse = 3050041;
ExplorerMapPlayerInfoRequest = 3050042;
ExplorerMapPlayerInfoResponse = 3050043;
ExplorerMapSendRequest = 3050044;
ExplorerMapSendResponse = 3050045;
ExplorerMapRewardRequest = 3050046;
ExplorerMapRewardResponse = 3050047;
ExplorerMapIndicationResponse = 3050048;
//800000起为global 协议

View File

@ -1044,5 +1044,48 @@ import "CommonProto.proto";
repeated int32 relicIds = 5;//遗物加成id列表
optional int32 round = 6;//回合数,计算加成
}
//探索信息
message ExplorerMapInfoRequest{
}
message ExplorerMapInfoResponse{
repeated ExplorerMapInfo exploreInfo = 1;//探索地图信息
}
//探索地图中玩家信息
message ExplorerMapPlayerInfoRequest{
optional int32 mapId = 1; //地图id
}
message ExplorerMapPlayerInfoResponse{
repeated ArenaPersonInfo playerInfo = 1;//探索地图中玩家信息
}
//探索派遣
message ExplorerMapSendRequest{
optional int32 type = 1; //派遣类型 0:单个探索 1:一键探索
repeated int32 mapId = 2; //地图id
repeated int32 teamId = 3; //队伍id
repeated int32 time = 4; //探索小时
}
message ExplorerMapSendResponse{
optional int32 time = 1 ; //探索时间
}
//领取探索奖励
message ExplorerMapRewardRequest{
optional int32 type = 1; //0:停止探索 1:领取奖励
repeated int32 mapId = 2; //地图id
}
message ExplorerMapRewardResponse{
optional Drop drop = 1 ;//探索奖励
}
message ExplorerMapIndicationResponse{
optional int32 type = 1; //0:变化的血量 1:移除队伍
optional int32 mapId = 2; //地图id
optional int32 teamId = 3; //队伍id
optional Drop drop = 4 ;//探索奖励
optional int32 hp = 5; //队伍血量
}