From 6660ec9d55431e0818f39d31a4e475125b66c371 Mon Sep 17 00:00:00 2001 From: yuanshuai <243578945@qq.com> Date: Tue, 19 Oct 2021 10:00:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E8=A1=8C=E6=8A=80=E8=83=BD=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E5=8D=8F=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 | 5 +++++ protos/MessageTypeProto.proto | 3 +++ protos/PlayerInfoProto.proto | 1 + 4 files changed, 15 insertions(+) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index a27cd85..34b3539 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -1105,5 +1105,11 @@ option optimize_for = SPEED; optional int32 num = 2;//装备曾经获取过的数量 } + ///修行技能信息 + message PracticeSkillInfo{ + optional int32 skillId = 1;//技能id + optional int32 skillLv = 2;//技能等级 + } + \ No newline at end of file diff --git a/protos/HeroInfoProto.proto b/protos/HeroInfoProto.proto index c2f67ac..a41ab10 100644 --- a/protos/HeroInfoProto.proto +++ b/protos/HeroInfoProto.proto @@ -464,6 +464,11 @@ import "CommonProto.proto"; } + //修行技能升级 + message PracticeSkillUpRequest{ + optional int32 skillId = 1; + } + diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index c4f10a2..f321c0a 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -1113,6 +1113,9 @@ enum MessageType{ GET_LIKABLE_DATA_REQUEST = 20207;//获取英雄好感度数据请求 GET_LIKABLE_DATA_RESPONSE = 20208; + + PRACTICE_SKILL_UP_REQUEST=20209;//修行技能升级请求 + PRACTICE_SKILL_UP_RESPONSE=20210; diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index de0988c..0ffdfe1 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -86,6 +86,7 @@ import "CommonProto.proto"; repeated HelpFightList helpFightList = 45;//已选取的助战信息 repeated SixiangxinfaInfo sixiangInfos = 46;//四象心法数据 optional int32 serverOpenTime = 47; // 服务器开服时间 + repeated PracticeSkillInfo practiceSkillInfos = 48;//修行技能数据 }