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

master_huanxiang
zhangshanxue 2020-01-08 16:19:22 +08:00
parent 9b68880d65
commit 7374daa280
3 changed files with 93 additions and 2 deletions

View File

@ -732,7 +732,31 @@ option optimize_for = SPEED;
}
//
message ExpeditionNodeInfo{
optional int32 sortId = 1;//id
optional int32 lay = 2;//
optional int32 type = 3;//
optional ExpeditionTeamInfo bossTeaminfo = 4;//
optional int32 state = 5;//// 0 1 2 3
repeated int32 holyEquipID = 6;//id
}
message ExpeditionSimpleBossInfo{
optional int32 heroTid = 1;//id
optional int32 star = 2;
optional int32 level =3;
optional int32 remainHp =4;//
}
message ExpeditionTeamInfo{
repeated ExpeditionSimpleBossInfo hero =1;
repeated int32 PokemonInfos = 2;
optional int32 totalForce=3;
}
message ExpeditionSimpleHeroInfo{
optional int32 heroId = 1;//id
optional int32 remainHp =2;//
}

View File

@ -0,0 +1,48 @@
package com.ljsd.jieling.protocols;
option optimize_for = SPEED;
import "CommonProto.proto";
//
message GetExpeditionRequest{
}
message GetExpeditionResponse{
repeated ExpeditionNodeInfo nodeInfo = 1; //
repeated ExpeditionSimpleHeroInfo heroInfo = 2;//
repeated int32 lay = 3;//id
}
message TakeExpeditionBoxRewardRequest{
optional int32 lay = 1; //
}
message TakeExpeditionBoxRewardResponse{
optional Drop drop = 1;
}
message ReliveExpeditionHeroRequest{
optional int32 heroId = 1; //id
}
message ReliveExpeditionHeroResponse{
optional ExpeditionSimpleHeroInfo heroInfo =1;//
}
message StartExpeditionBattleRequest{
optional int32 nodeId = 1; //id
optional int32 expInfo = 2; // id
}
message StartExpeditionBattle{
repeated ExpeditionNodeInfo nodeInfo = 1;
repeated ExpeditionSimpleHeroInfo heroInfo = 2;//
}

View File

@ -806,4 +806,23 @@ enum MessageType{
// X 12300
// Y 12400
// Z 12500
// 20001 - 20100
EXPEDITION_GET_EXPEDITION_REQUEST = 20002;//
EXPEDITION_GET_EXPEDITION_RESONSE = 20003;
EXPEDITION_TAKE_BOXREWARD_REQUEST = 20004;//
EXPEDITION_TAKE_BOXREWARD_RESONSE = 20005;
EXPEDITION_RELIVE_HERO_REQUEST = 20006;//
EXPEDITION_RELIVE_HERO_RESONSE = 20007;
EXPEDITION_START_BATTLE_REQUEST = 20008;//
EXPEDITION_START_BATTLE_RESONSE = 20009;
}