From 76690ca0cbdf0aff89ea6be9e58ea34bdf97d84f Mon Sep 17 00:00:00 2001 From: zqj <582132116@qq.com> Date: Wed, 1 Feb 2023 12:20:15 +0800 Subject: [PATCH] feat: 添加碎片兑换英雄协议 --- hero.proto | 10 ++++++++-- protocode.proto | 7 ++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/hero.proto b/hero.proto index 672e089..8ddee6d 100644 --- a/hero.proto +++ b/hero.proto @@ -20,14 +20,20 @@ message HeroEquipReferRar { } message HeroFragmentCovertReq { - string hero_id = 1; - int32 frag_count = 2; + int32 frag_id = 1; } message HeroFragmentCovertRsp { models.Hero hero = 1; } +message HeroUpStarReq { + string hero_id = 1; +} + +message HeroUpStarRsp { + models.Hero hero = 1; +} message HeroUpLevelReq { string heroId = 1; diff --git a/protocode.proto b/protocode.proto index 51c7872..7575189 100644 --- a/protocode.proto +++ b/protocode.proto @@ -29,9 +29,10 @@ enum ProtoCode HeroEquipReferRpc = 201; HeroFragmentCovertRpc = 202; - HeroUpLevelRpc = 203; - HeroReinRpc = 204; - HeroSkillUpLevelRpc = 205; + HeroUpStarRpc = 203; + HeroUpLevelRpc = 204; + HeroReinRpc = 205; + HeroSkillUpLevelRpc = 206; EmailListRpc = 301; EmailDrawRpc = 302; -- libgit2 0.21.2