Commit fcc36b48d6b6193f70240a001cc7c58c3f04fab6
1 parent
5cb5b0a3
feat: 宝石合成
Showing
2 changed files
with
12 additions
and
0 deletions
Show diff stats
game.proto
@@ -242,3 +242,14 @@ message StoreUpdatePropertyNty { | @@ -242,3 +242,14 @@ message StoreUpdatePropertyNty { | ||
242 | repeated string keys = 1; // 键 名字 | 242 | repeated string keys = 1; // 键 名字 |
243 | models.Store store = 2; | 243 | models.Store store = 2; |
244 | } | 244 | } |
245 | + | ||
246 | +message ItemGemCompoundReq { | ||
247 | + int32 gem_id = 1; | ||
248 | + int32 gem_count = 2; | ||
249 | +} | ||
250 | + | ||
251 | +message ItemGemCompoundRsp { | ||
252 | + int32 gem_id = 1; | ||
253 | + int32 gem_count =2; | ||
254 | + string reward = 3; | ||
255 | +} | ||
245 | \ No newline at end of file | 256 | \ No newline at end of file |
protocode.proto
@@ -32,6 +32,7 @@ enum ProtoCode | @@ -32,6 +32,7 @@ enum ProtoCode | ||
32 | EmailCheckRpc = 524; | 32 | EmailCheckRpc = 524; |
33 | EmailDelRpc = 525; | 33 | EmailDelRpc = 525; |
34 | StoreBuyRpc = 526; | 34 | StoreBuyRpc = 526; |
35 | + ItemGemCompoundRpc = 527; | ||
35 | 36 | ||
36 | DisConnectNty = 1001; | 37 | DisConnectNty = 1001; |
37 | RoleUpdatePropertyNty = 1002; | 38 | RoleUpdatePropertyNty = 1002; |