Commit 038539fe47e853e91b87439c471bcb5dffdc96c4
1 parent
91d3d818
feat: 抽卡系统重构
Showing
2 changed files
with
5 additions
and
3 deletions
Show diff stats
game.proto
@@ -134,11 +134,13 @@ message RoleCostRsp { | @@ -134,11 +134,13 @@ message RoleCostRsp { | ||
134 | message RoleLogOutRar { | 134 | message RoleLogOutRar { |
135 | } | 135 | } |
136 | 136 | ||
137 | -message RoleDropReq { | 137 | +message RoleDrawCardReq { |
138 | int32 group_id = 1; | 138 | int32 group_id = 1; |
139 | + int32 pool_id = 2; | ||
140 | + int32 draw_count = 3; | ||
139 | } | 141 | } |
140 | 142 | ||
141 | -message RoleDropRsp { | 143 | +message RoleDrawCardRsp { |
142 | string reward = 1; | 144 | string reward = 1; |
143 | } | 145 | } |
144 | 146 |
protocode.proto
@@ -21,7 +21,7 @@ enum ProtoCode | @@ -21,7 +21,7 @@ enum ProtoCode | ||
21 | RoleResetChapterRpc = 513; | 21 | RoleResetChapterRpc = 513; |
22 | RoleCostRpc = 514; | 22 | RoleCostRpc = 514; |
23 | RoleLogOutRpc = 515; | 23 | RoleLogOutRpc = 515; |
24 | - RoleDropRpc = 516; | 24 | + RoleDrawCardRpc = 516; |
25 | EquipmentDelRpc = 517; | 25 | EquipmentDelRpc = 517; |
26 | EquipmentEnhanceRpc = 518; | 26 | EquipmentEnhanceRpc = 518; |
27 | HeroUpLevelRpc = 519; | 27 | HeroUpLevelRpc = 519; |