From 3e7e7065b6e61a336a05b0290969b3b8e46a7755 Mon Sep 17 00:00:00 2001 From: zqj <582132116@qq.com> Date: Mon, 19 Dec 2022 15:29:25 +0800 Subject: [PATCH] fix: 拥有英雄,抽到英雄卡,则化为碎片。 不拥有英雄,抽到英雄卡,则直接解锁英雄 抽到碎片,直接放入背包。 --- hero.proto | 8 ++++++++ protocode.proto | 10 ++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/hero.proto b/hero.proto index e3ab8e9..9f7cc8a 100644 --- a/hero.proto +++ b/hero.proto @@ -58,3 +58,11 @@ message HeroSkillUpLevelRsp { int32 skill_level = 3; int32 rein_point = 4; } + +message HeroAddNty { + models.Hero hero = 1; +} +message HeroUpdatePropertyNty { + repeated string keys = 1; + models.Activity activity = 2; +} \ No newline at end of file diff --git a/protocode.proto b/protocode.proto index 5c9087d..0113505 100644 --- a/protocode.proto +++ b/protocode.proto @@ -57,9 +57,11 @@ enum ProtoCode DisConnectNty = 1001; RoleUpdatePropertyNty = 1002; RoleUpdateItemsNty = 1003; - EmailNewNty = 1004; - EquipmentAddNty = 1005; - StoreUpdatePropertyNty = 1006; - ActivityPropertyNty = 1007; + HeroAddNty = 1004; + HeroUpdatePropertyNty = 1005; + EmailNewNty = 1006; + EquipmentAddNty = 1007; + StoreUpdatePropertyNty = 1008; + ActivityPropertyNty = 1009; } \ No newline at end of file -- libgit2 0.21.2