From 5be06d0c1aa3685b9184b0e391cc2df382831dc7 Mon Sep 17 00:00:00 2001 From: yuanshuai <243578945@qq.com> Date: Wed, 22 Sep 2021 17:10:37 +0800 Subject: [PATCH] =?UTF-8?q?=20=E5=A5=BD=E6=84=9F=E5=BA=A6=E5=8D=8F?= =?UTF-8?q?=E8=AE=AE=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 6 ++++++ protos/HeroInfoProto.proto | 9 +++++++++ protos/MessageTypeProto.proto | 3 +++ protos/PlayerInfoProto.proto | 1 + 4 files changed, 19 insertions(+) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index e47d84e..c26c1d8 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -1090,4 +1090,10 @@ option optimize_for = SPEED; optional int32 id = 1;//遗物id optional int32 status = 2;//遗物状态,0:未激活,1:已激活 } + + // 好感度信息 + message LikableInfo{ + optional int32 heroStaticid = 1;//英雄静态id + optional int32 likableNum = 2;//好感度值 + } \ No newline at end of file diff --git a/protos/HeroInfoProto.proto b/protos/HeroInfoProto.proto index 2ca0bb5..ccf4408 100644 --- a/protos/HeroInfoProto.proto +++ b/protos/HeroInfoProto.proto @@ -442,6 +442,15 @@ import "CommonProto.proto"; } + //好感度提升协议 + message HeroUpLikableRequest{ + optional int32 heroStaticId = 1;//英雄静态id + optional int32 itemId = 2;//消耗道具id + optional int32 itemNum = 3;//消耗道具数量 + } + + + diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 6a298cf..8909a06 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -1106,6 +1106,9 @@ enum MessageType{ SIXIANG_UP_STAR_REQUEST = 20203;//四象心法进阶 SIXIANG_UP_STAR_RESPONSE = 20204; + + HERO_UP_LIKABLE_REQUEST = 20205;//英雄提升好感度请求 + HERO_UP_LIKABLE_RESPONSE = 20206; diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index c5c9d33..7a27afd 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -85,6 +85,7 @@ import "CommonProto.proto"; repeated randomTypeNum drawTimes = 44;//类型抽卡总次数 repeated HelpFightList helpFightList = 45;//已选取的助战信息 repeated SixiangxinfaInfo sixiangInfos = 46;//四象心法数据 + repeated LikableInfo sixiangInfos = 47;//四象心法数据 }