From 2fd2313ab971a1eb1bbf97c4fd7dd6fb0df0b7e4 Mon Sep 17 00:00:00 2001 From: gaojie Date: Thu, 11 Apr 2019 20:37:22 +0800 Subject: [PATCH] fix --- protos/CommonProto.proto | 9 +++++---- protos/FightInfoProto.proto | 2 ++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index e1381a0..59650e1 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -212,10 +212,6 @@ option optimize_for = SPEED; optional int32 type = 1; optional int32 id =2; } - message LevelDifficultyInfos{ - optional int32 areaId = 1; - repeated LevelDifficulty LevelDifficulty = 2; - } message LevelDifficulty{ optional int32 fightId = 1; @@ -224,6 +220,11 @@ option optimize_for = SPEED; optional int32 type = 4; //1:简单 2:中等 3:困难 } + message LevelDifficultyInfos{ + optional int32 areaId = 1; + repeated LevelDifficulty LevelDifficulty = 2; + } + diff --git a/protos/FightInfoProto.proto b/protos/FightInfoProto.proto index 3298972..8c2be54 100644 --- a/protos/FightInfoProto.proto +++ b/protos/FightInfoProto.proto @@ -46,6 +46,8 @@ import "CommonProto.proto"; optional int32 monsterGroupId = 1; // 战斗序列帧 14#1#0|14#1#0|14#1#0|...|14#1#0 optional string frames = 2; + optional int32 fightId = 3; + optional int32 type = 4; // 类型 1: 关卡 } message FightEndResponse { //战斗结果