Commit 3e7e7065b6e61a336a05b0290969b3b8e46a7755
1 parent
89c2bd14
fix: 拥有英雄,抽到英雄卡,则化为碎片。
不拥有英雄,抽到英雄卡,则直接解锁英雄 抽到碎片,直接放入背包。
Showing
2 changed files
with
14 additions
and
4 deletions
Show diff stats
hero.proto
@@ -58,3 +58,11 @@ message HeroSkillUpLevelRsp { | @@ -58,3 +58,11 @@ message HeroSkillUpLevelRsp { | ||
58 | int32 skill_level = 3; | 58 | int32 skill_level = 3; |
59 | int32 rein_point = 4; | 59 | int32 rein_point = 4; |
60 | } | 60 | } |
61 | + | ||
62 | +message HeroAddNty { | ||
63 | + models.Hero hero = 1; | ||
64 | +} | ||
65 | +message HeroUpdatePropertyNty { | ||
66 | + repeated string keys = 1; | ||
67 | + models.Activity activity = 2; | ||
68 | +} | ||
61 | \ No newline at end of file | 69 | \ No newline at end of file |
protocode.proto
@@ -57,9 +57,11 @@ enum ProtoCode | @@ -57,9 +57,11 @@ enum ProtoCode | ||
57 | DisConnectNty = 1001; | 57 | DisConnectNty = 1001; |
58 | RoleUpdatePropertyNty = 1002; | 58 | RoleUpdatePropertyNty = 1002; |
59 | RoleUpdateItemsNty = 1003; | 59 | RoleUpdateItemsNty = 1003; |
60 | - EmailNewNty = 1004; | ||
61 | - EquipmentAddNty = 1005; | ||
62 | - StoreUpdatePropertyNty = 1006; | ||
63 | - ActivityPropertyNty = 1007; | 60 | + HeroAddNty = 1004; |
61 | + HeroUpdatePropertyNty = 1005; | ||
62 | + EmailNewNty = 1006; | ||
63 | + EquipmentAddNty = 1007; | ||
64 | + StoreUpdatePropertyNty = 1008; | ||
65 | + ActivityPropertyNty = 1009; | ||
64 | 66 | ||
65 | } | 67 | } |
66 | \ No newline at end of file | 68 | \ No newline at end of file |