TASK【ID1005460】【玩法需求】猎妖之路

master_huanxiang
zhangshanxue 2020-01-08 17:24:58 +08:00
parent a5f3b18316
commit 3ee5814078
3 changed files with 54 additions and 8 deletions

View File

@ -758,7 +758,7 @@ option optimize_for = SPEED;
}
message ExpeditionSimpleHeroInfo{
optional int32 heroId = 1;//id
optional string heroId = 1;//id
optional int32 remainHp =2;//
}

View File

@ -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;//
}

View File

@ -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;
}