From fd51fcd89cc3d7d2aef94137165e7875b8033524 Mon Sep 17 00:00:00 2001 From: yuanshuai <243578945@qq.com> Date: Thu, 30 Sep 2021 11:49:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A5=9E=E9=AD=82=E5=8D=8F=E8=AE=AE=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 14 +++++++++++++- protos/MessageTypeProto.proto | 3 ++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index c26c1d8..6022937 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -107,6 +107,8 @@ option optimize_for = SPEED; repeated string jewels = 14;//宝器 optional int32 createtype = 15;//创建类型 1猎妖援助 optional int32 changeId = 16;//置换模板id 默认0 + repeated HeroGodSoulInfo godSoulList=17;//神魂绑定数据 + repeated HeroBeBindGodSoulInfo godSoulBeBindList=18;//神魂反绑数据 } message PokemonInfo{ @@ -1096,4 +1098,14 @@ option optimize_for = SPEED; optional int32 heroStaticid = 1;//英雄静态id optional int32 likableNum = 2;//好感度值 } - \ No newline at end of file + ///神魂绑定数据 + message HeroGodSoulInfo{ + optional int32 level = 1;//神魂等级 + repeated string heros = 2;//当前等级绑定的神将 + } + + //神魂被绑定(反绑)数据 + message HeroBeBindGodSoulInfo{ + optional int32 level = 1;//神魂等级 + optional string heroId = 2;//当前等级绑定的神将 + } \ No newline at end of file diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 1e5ebe7..2f77b4e 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -1113,7 +1113,8 @@ enum MessageType{ GET_LIKABLE_DATA_REQUEST = 20207;//获取英雄好感度数据请求 GET_LIKABLE_DATA_RESPONSE = 20208; - + HERO_GOD_SOUL_BIND_REQUEST = 20209;//神将绑定神魂请求 + HERO_GOD_SOUL_BIND_RESPONSE = 20210;