From 9af395e4da97d0d101fccd67bc27fe7ecef7fe8d Mon Sep 17 00:00:00 2001 From: lvxinran Date: Mon, 12 Aug 2019 14:59:14 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E5=85=AC=E4=BC=9A?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/Family.proto | 3 +++ 1 file changed, 3 insertions(+) diff --git a/protos/Family.proto b/protos/Family.proto index 5754afe..855cece 100644 --- a/protos/Family.proto +++ b/protos/Family.proto @@ -188,6 +188,9 @@ import "CommonProto.proto"; optional int32 type =1 ;//操作类型 1 :解散公会 2 : 取消解散公会 } //查看当前布防信息 + message FamilyDefendViewRequest{ + optional int32 type = 1;//0为当前自己公会信息,1为对战公会信息 + } message FamilyDefendViewResponse{ repeated FamilyDefendInfo info = 1; From 92c45690676a79a16cbcf5febfbcc95d4a9a4828 Mon Sep 17 00:00:00 2001 From: lvxinran Date: Mon, 12 Aug 2019 16:04:45 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=85=AC=E4=BC=9A=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E5=AF=B9=E6=89=8B=E4=BF=A1=E6=81=AF=E5=8D=8F=E8=AE=AE=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/Family.proto | 19 ++++++++++++++++--- protos/MessageTypeProto.proto | 3 +++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/protos/Family.proto b/protos/Family.proto index 855cece..3625745 100644 --- a/protos/Family.proto +++ b/protos/Family.proto @@ -62,6 +62,18 @@ import "CommonProto.proto"; optional int32 curForce=4;//战斗力 } + + message FamilyBuildBuffInfo{ + optional int32 buildId = 1; + optional int32 buffId = 2; + } + + //对战信息 + message FamilyFightInfo{ + optional int32 gid = 1; + repeated FamilyBuildBuffInfo buildBuff = 2; + repeated FamilyUserInfo user = 3; + } message GetFamilyInfoResponse{ optional FamilyBaseInfo familyBaseInfo =1; // 公会信息 @@ -188,9 +200,6 @@ import "CommonProto.proto"; optional int32 type =1 ;//操作类型 1 :解散公会 2 : 取消解散公会 } //查看当前布防信息 - message FamilyDefendViewRequest{ - optional int32 type = 1;//0为当前自己公会信息,1为对战公会信息 - } message FamilyDefendViewResponse{ repeated FamilyDefendInfo info = 1; @@ -212,4 +221,8 @@ import "CommonProto.proto"; message FamilyWalkRequest{ repeated int32 path =1;// 行走路线 } + //公会战对战信息 + message FamilyFightInfoResponse{ + repeated FamilyFightInfo info=1; + } diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index cbaea90..c7a01b9 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -246,6 +246,9 @@ enum MessageType{ FAMILY_WALK_INDICATION = 10565; FAMILY_QUICK_SET_DEFEND_INDICATION = 10566; + + FAMILY_FIGHT_INFO_REQUEST = 10567;//公会对战具体信息 + FAMILY_FIGHT_INFO_RESPONSE = 10568; // G 10600 GET_PLAYERINFO_REQUEST = 10600; //