From c2ba62f154b56c0327dcb873594d4d6bd3bf13bd Mon Sep 17 00:00:00 2001 From: zqj <582132116@qq.com> Date: Thu, 1 Sep 2022 15:17:19 +0800 Subject: [PATCH] feat: 英雄技能通过转身点升级 --- game.proto | 12 ++++++++++++ models.proto | 3 ++- protocode.proto | 11 ++++++----- 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/game.proto b/game.proto index 6d694af..ef67f28 100644 --- a/game.proto +++ b/game.proto @@ -155,6 +155,18 @@ message HeroReinRsp { models.Hero hero = 1; } +message HeroSkillUpLevelReq { + string hero_id = 1; + int32 skill_id = 2; + int32 skill_type = 3; +} + +message HeroSkillUpLevelRsp { + string hero_id = 1; + int32 skill_id = 2; + int32 skill_level = 3; +} + message EmailListReq { } diff --git a/models.proto b/models.proto index 17a2a39..669173b 100644 --- a/models.proto +++ b/models.proto @@ -47,8 +47,9 @@ message Hero { int32 level = 4; int32 rein_count = 5; int32 rein_point = 6; - string equipments = 7; //"id=pos id1=pos1" + map equipments = 7; //"id=pos id1=pos1" int32 exp = 8; + map skills = 9; } message Equipment { diff --git a/protocode.proto b/protocode.proto index 8b1d641..827a99f 100644 --- a/protocode.proto +++ b/protocode.proto @@ -23,11 +23,12 @@ enum ProtoCode EquipmentEnhanceRpc = 515; HeroUpLevelRpc = 516; HeroReinRpc = 517; - EmailListRpc = 518; - EmailDrawRpc = 519; - EmailCheckRpc = 520; - EmailDelRpc = 521; - StoreBuyRpc = 522; + HeroSkillUpLevelRpc = 518; + EmailListRpc = 519; + EmailDrawRpc = 520; + EmailCheckRpc = 521; + EmailDelRpc = 522; + StoreBuyRpc = 523; DisConnectNty = 1001; RoleUpdatePropertyNty = 1002; -- libgit2 0.21.2