在地图战斗

master_huanxiang
jiahuiwen 2019-03-02 18:21:48 +08:00
parent 2c5fed5887
commit 5af7cc2907
3 changed files with 24 additions and 25 deletions

View File

@ -71,6 +71,12 @@ option optimize_for = SPEED;
optional float speed = 6; optional float speed = 6;
} }
message Monster{
optional string monsterId = 1; // id
repeated int32 monsterSkill = 2 ; //
repeated int32 monsterProperty = 3; //
}
message EventBehaviorValues{ message EventBehaviorValues{
repeated int32 behaviorValues = 1; repeated int32 behaviorValues = 1;
} }

View File

@ -26,18 +26,21 @@ import "CommonProto.proto";
} }
// //
message FightRequest { message FightStartRequest {
// //
optional int32 fightType = 1; optional int32 fightType = 1;
} }
message FightEndResponse { message FightStartResponse {
// //
repeated Monster monsterList = 1; //repeated Monster monsterList = 1;
}
//
message FightEndRequest {
}
message FightEndResponse {
//
repeated Item Items = 1;
} }
message Monster{
optional string monsterId = 1; // id
repeated int32 monsterSkill =2 ; //
repeated int32 monsterProperty =3; //
}

View File

@ -7,8 +7,8 @@ import "CommonProto.proto";
message MapEnterRequest{ message MapEnterRequest{
// id // id
optional int32 mapId = 1; optional int32 mapId = 1;
// //
repeated HeroInfo heroInfos = 2; optional int32 teamId = 2;
} }
message MapEnterResponse{ message MapEnterResponse{
// //
@ -40,6 +40,10 @@ import "CommonProto.proto";
optional Drop drop = 3; optional Drop drop = 3;
// 线 // 线
optional Mission mission = 4; optional Mission mission = 4;
//
repeated HeroFightInfo heroFightInfos = 5;
//
repeated Monster monsterList = 6;
} }
// //
@ -53,20 +57,6 @@ import "CommonProto.proto";
optional int32 eventId = 1; optional int32 eventId = 1;
} }
//
message FightEndRequest {
// ()
repeated HeroInfo heroInfos = 1;
}
message FightEndResponse {
//
repeated Item Items = 1;
// id
optional int32 bigEventId = 2;
// 0 -1
optional int32 eventSchedule = 3;
}
// //
message MapOutRequest{ message MapOutRequest{
// //