master_huanxiang
lvxinran 2020-01-09 14:52:25 +08:00
commit 387ba568a4
4 changed files with 56 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

@ -95,6 +95,8 @@ import "CommonProto.proto";
//
repeated Drop Drop = 1;
optional ItemInfo ItemInfo =2;
optional int32 hurt = 3;
optional FightData fightData=4 ; //
}
message FightRePlayRequest{

View File

@ -826,9 +826,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;
}