TASK【ID1005460】【玩法需求】猎妖之路
parent
a5f3b18316
commit
3ee5814078
|
@ -758,7 +758,7 @@ option optimize_for = SPEED;
|
|||
}
|
||||
|
||||
message ExpeditionSimpleHeroInfo{
|
||||
optional int32 heroId = 1;//英雄id
|
||||
optional string heroId = 1;//英雄id
|
||||
optional int32 remainHp =2;//剩余血量
|
||||
}
|
||||
|
|
@ -27,22 +27,60 @@ import "CommonProto.proto";
|
|||
|
||||
|
||||
message ReliveExpeditionHeroRequest{
|
||||
optional int32 heroId = 1; //复活英雄id
|
||||
optional string heroId = 1; //复活英雄id
|
||||
optional int32 nodeId = 2; //节点信息 -1使用道具恢复
|
||||
}
|
||||
|
||||
message ReliveExpeditionHeroResponse{
|
||||
optional ExpeditionSimpleHeroInfo heroInfo =1;//复活的英雄信息
|
||||
}
|
||||
|
||||
message ReCoverExpeditionHeroRequest{
|
||||
optional int32 nodeId = 1;//节点信息
|
||||
}
|
||||
message ReCoverExpeditionHeroResponse{
|
||||
repeated ExpeditionSimpleHeroInfo heroInfo =1;//恢复的英雄信息
|
||||
}
|
||||
|
||||
|
||||
//开始战斗
|
||||
message StartExpeditionBattleRequest{
|
||||
optional int32 nodeId = 1; //节点id
|
||||
optional int32 expInfo = 2; //扩展信息 复活节点传英雄id
|
||||
optional int32 teamId = 2; //队伍id
|
||||
optional int32 expInfo = 3; //扩展信息 复活节点传英雄id
|
||||
}
|
||||
|
||||
message StartExpeditionBattle{
|
||||
repeated ExpeditionNodeInfo nodeInfo = 1;
|
||||
repeated ExpeditionSimpleHeroInfo heroInfo = 2;//己方英雄信息
|
||||
message StartExpeditionBattleResponse {
|
||||
// 战斗属性
|
||||
optional FightData fightData = 1;
|
||||
}
|
||||
|
||||
|
||||
message EndExpeditionBattleRequest{
|
||||
optional int32 nodeId = 1; //节点id
|
||||
optional string frames = 2;// 战斗序列帧 14#1#0|14#1#0|14#1#0|...|14#1#0
|
||||
}
|
||||
|
||||
message EndExpeditionBattleResponse {
|
||||
//战斗结果
|
||||
optional int32 result = 1;
|
||||
repeated ExpeditionNodeInfo nodeInfo = 2;
|
||||
repeated ExpeditionSimpleHeroInfo heroInfo = 3;//己方英雄信息
|
||||
optional Drop drop = 4;
|
||||
}
|
||||
|
||||
|
||||
message TakeHolyEquipRequest{
|
||||
optional int32 type = 1; //获取类型
|
||||
}
|
||||
|
||||
//会先推送一下 临时背包信息
|
||||
message TakeHolyEquipResponse{
|
||||
optional string equipId = 1;
|
||||
repeated ExpeditionNodeInfo nodeInfo = 2;//更新节点信息
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -820,9 +820,17 @@ enum MessageType{
|
|||
EXPEDITION_RELIVE_HERO_REQUEST = 20006;//复活英雄
|
||||
EXPEDITION_RELIVE_HERO_RESONSE = 20007;
|
||||
|
||||
EXPEDITION_START_BATTLE_REQUEST = 20008;//节点操作
|
||||
EXPEDITION_START_BATTLE_REQUEST = 20008;//开始节点战斗操作
|
||||
EXPEDITION_START_BATTLE_RESONSE = 20009;
|
||||
|
||||
|
||||
EXPEDITION_END_BATTLE_REQUEST = 20010;//结束节点战斗操作
|
||||
EXPEDITION_END_BATTLE_RESONSE = 20011;
|
||||
|
||||
EXPEDITION_TAKE_HOLY_EQUIP_REQUEST = 20012;//领取圣物
|
||||
EXPEDITION_TAKE_HOLY_EQUIP_RESONSE = 20013;
|
||||
|
||||
EXPEDITION_RECOVER_HERO_REQUEST = 20014;//恢复英雄
|
||||
EXPEDITION_RECOVER_HERO_RESONSE = 20015;
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue