【家园协议1.0】旧内容修改,添加装备强化协议

master_huanxiang
duhui 2021-12-22 18:01:08 +08:00
parent 3a0514d753
commit 64949fb7f1
3 changed files with 46 additions and 20 deletions

View File

@ -1210,12 +1210,17 @@ option optimize_for = SPEED;
// 浮生门建筑信息
message ArchitectureInfo{
optional int32 id = 1;
optional int32 level = 2;
optional int32 startTime = 3;
optional int32 productionStartTime = 2;//开始生产时间
optional int32 upLvEndTime = 3;//升级结束时间
}
// 栖云阁地块信息
message LandInfo{
optional int32 id = 1;
optional int32 endTime = 2;
optional int32 heroTid = 3;
optional int32 endTime = 2;//探索结束时间
optional int32 heroTid = 3;//英雄模板id,0为未探索状态
}
// 家园装备强化信息
message EquipIntensifyInfo{
optional int32 location = 1;//装备位置,1:头盔,2:衣服,3:武器,4:鞋
optional int32 lvId = 2;//等级id
}

View File

@ -1381,13 +1381,18 @@ enum MessageType{
HomeInfoResponse = 3050102;
// 建筑升级
ArchitectureOperateRequest = 3050103;
// 一键收获
HomeAllGainRequset = 3050104;
HomeAllGainResponse = 3050105;
// 栖云阁
WenderInfoRequset = 3050106;
WenderInfoResponse = 3050107;
WanderInfoRequset = 3050106;
WanderInfoResponse = 3050107;
// 派遣
WenderDispatchRequest = 3050108;
WenderDispatchResponse = 3050109;
WanderDispatchRequest = 3050108;
WanderDispatchResponse = 3050109;
// 家园装备强化
EquipIntensifyRequset = 3050110;
EquipIntensifyResponse = 3050111;
//800000起为global 协议

View File

@ -1056,34 +1056,50 @@ import "CommonProto.proto";
}
message ArchitectureOperateRequest{
repeated int32 ids = 1;
optional int32 type = 2;//1:升级,2:领取
optional int32 type = 2;//1:升级,2:立即完成
optional int32 privilageTypeId = 3;//升级用,特权id
}
message HomeInfoResponse{
repeated ArchitectureInfo infos = 1;
optional Drop drop = 2;
}
// 栖云阁
message WenderInfoRequset{
message HomeAllGainRequset{
optional int32 id = 1;//0为一键领取,其他为建筑单个领取
}
message WenderInfoResponse{
message HomeAllGainResponse{
optional Drop drop = 1;
}
// 栖云阁
message WanderInfoRequset{
}
message WanderInfoResponse{
repeated LandInfo lands = 1;
repeated int32 heroTids = 2;
}
message WenderDispatchRequest{
optional int32 id = 1;
message WanderDispatchRequest{
optional int32 id = 1;//地块id
optional int32 type = 2;//1:普通派遣,2:立即完成,3:领取
optional int32 heroTid = 3;
optional int32 heroTid = 3;//派遣的英雄模板id
optional int32 privilageTypeId = 4;//特权id,领取不用
}
message WenderDispatchResponse{
message WanderDispatchResponse{
optional LandInfo land = 1;
repeated int32 heroTids = 2;
optional Drop drop = 3;
}
// 摘星阁,装备强化
message EquipIntensifyRequset{
optional int32 location = 1;
optional int32 upLevel = 2;
}
message EquipIntensifyResponse{
repeated EquipIntensifyInfo infos = 1;
}