特训协议
parent
402f9ff332
commit
86464ad2a3
|
|
@ -132,6 +132,16 @@ option optimize_for = SPEED;
|
|||
repeated string faxiang = 23;//法相id
|
||||
repeated int32 giftEquipIds = 24;//礼物装备列表
|
||||
repeated potentialInfo potential = 25;//潜能属性
|
||||
optional HeroTraining training = 26;//特训属性
|
||||
}
|
||||
|
||||
message HeroTraining{
|
||||
optional string heroId = 1;//英雄唯一id
|
||||
optional int32 trainingLv = 2;//特训等级
|
||||
optional int32 attackExp = 3;//攻击特训经验
|
||||
optional int32 defenseExp = 4;//防御特训经验
|
||||
optional int32 hpExp = 5;//血量特训经验
|
||||
repeated int32 unlockIds = 6;//解锁技能id的列id,表train
|
||||
}
|
||||
|
||||
message PokemonInfo{
|
||||
|
|
@ -1355,4 +1365,11 @@ option optimize_for = SPEED;
|
|||
optional string name = 2;
|
||||
optional int64 endTime = 3;
|
||||
repeated GmSingleGift missions = 4;
|
||||
}
|
||||
|
||||
message TrainingArchitectureInfo{
|
||||
optional int32 id = 1;//建筑id
|
||||
optional int32 lv = 2;//建筑等级
|
||||
optional int32 startTime = 3;// 0:表示建筑未在升级中,其他数字反之
|
||||
optional string heroId = 4;// 0:表示没有英雄在特训,其他数字再反之
|
||||
}
|
||||
|
|
@ -668,3 +668,39 @@ message BaublesDownBlessRequest{
|
|||
repeated string blessBaubles = 2;//庇佑得id
|
||||
}
|
||||
|
||||
/******** 特训 ***********/
|
||||
// 特训操作
|
||||
message TrainingRequest{
|
||||
optional int32 architectureId = 1;//建筑id
|
||||
optional string heroId = 2;//英雄唯一id
|
||||
optional int32 operation = 3;//1:开始特训 2:结束特训 3:立即完成
|
||||
}
|
||||
|
||||
message TrainingResponse{
|
||||
optional HeroTraining training = 1;//英雄特训信息
|
||||
}
|
||||
|
||||
// 特训解锁技能, 返回结构用TrainingResponse
|
||||
message TrainingUnlockSkillRequest {
|
||||
optional string heroId = 1;//英雄唯一id
|
||||
optional int32 unlockId = 2;//解锁技能列id,表train
|
||||
}
|
||||
|
||||
// 特训建筑升级操作
|
||||
message TrainingArchitectureUpRequest{
|
||||
optional int32 archId = 1;//建筑id
|
||||
optional int32 operation = 2;//操作 1:升级 2:立即完成
|
||||
}
|
||||
|
||||
// 获取特训建筑信息
|
||||
message TrainingArchitectureInfoRequest{
|
||||
}
|
||||
|
||||
message TrainingArchitectureInfoResponse{
|
||||
repeated TrainingArchitectureInfo infos = 1;//建筑属性
|
||||
}
|
||||
|
||||
// 特训激活下一级,返回结构用TrainingResponse
|
||||
message TrainingUpLvRequest{
|
||||
optional string heroId = 1;//英雄唯一id
|
||||
}
|
||||
|
|
@ -1674,6 +1674,8 @@ enum MessageType{
|
|||
TrainingArchitectureUpResponse = 6000028;
|
||||
TrainingArchitectureInfoRequest = 6000029;
|
||||
TrainingArchitectureInfoResponse = 6000030;
|
||||
TrainingUpLvRequest = 6000031;
|
||||
TrainingUpLvResponse = 6000032;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue