协议修改

master_huanxiang
mashiyu 2019-03-20 14:52:03 +08:00
parent 441383e134
commit 3d678bf934
3 changed files with 15 additions and 23 deletions

View File

@ -33,10 +33,6 @@ option optimize_for = SPEED;
optional int32 endingTime = 3;
}
message Buff{
optional int32 buffId = 1;
}
message SpecialEffects{
optional int32 propertyId = 1;
@ -68,21 +64,18 @@ option optimize_for = SPEED;
}
message HeroFightInfo {
optional Hero hero = 1;
optional float attack = 2;
optional float physicalDefence = 3;
optional float magicDefence = 4;
optional float hp = 5;
optional float speed = 6;
message FightTeamInfo {
repeated FightUnitInfo fightUnitList = 1;
optional string teamSkillList = 2;//1#2#3
}
message Monster{
optional string monsterId = 1; // id
repeated int32 monsterSkill = 2 ; //
repeated int32 monsterProperty = 3; //
message FightUnitInfo {
optional string unitId = 1;//id
optional string unitSkillIds = 2;//##1#2#3....
optional string property = 3;//1#2390#2390#169#271#95#176#0#0#0.3#0.15#0.3#1.5#1#0.05#0#0#0#0#0#0.05#0#0#0#0#0
}
message EventBehaviorValues{
repeated int32 behaviorValues = 1;
}
@ -127,10 +120,6 @@ option optimize_for = SPEED;
}
message Family{
optional string id = 1;
}
message Drop{
repeated Item itemlist = 1;
repeated Equip equipId = 2;

View File

@ -35,12 +35,13 @@ import "CommonProto.proto";
//
//repeated Monster monsterList = 1;
}
//
message FightEndRequest {
// id
optional int32 monsterGroupId = 1;
// 14#1#0
repeated string frames = 2;
// 14#1#0|14#1#0|14#1#0|...|14#1#0
optional string frames = 2;
}
message FightEndResponse {
//

View File

@ -46,11 +46,13 @@ import "CommonProto.proto";
// 线
repeated Mission mission = 4;
//
repeated HeroFightInfo heroFightInfos = 5;
optional FightTeamInfo heroFightInfos = 5;
//
repeated Monster monsterList = 6;
repeated FightTeamInfo monsterList = 6;
//
optional int32 leftStep = 7;
//
optional int32 fightSeed = 8;
}
//