Commit 4b29c72ba48aa381bbc648f5eaddc0cdc3e596f8
1 parent
ac195978
feat: 增加一键合成英雄碎片协议
Showing
2 changed files
with
9 additions
and
1 deletions
Show diff stats
hero.proto
| @@ -76,7 +76,6 @@ message HeroUpdatePropertyNty { | @@ -76,7 +76,6 @@ message HeroUpdatePropertyNty { | ||
| 76 | 76 | ||
| 77 | message HeroMemoryCompositeReq { | 77 | message HeroMemoryCompositeReq { |
| 78 | int32 memory_fragments = 1; // 兑换成的记忆碎片 | 78 | int32 memory_fragments = 1; // 兑换成的记忆碎片 |
| 79 | - string memory_composite = 2; // 记忆碎片组合 | ||
| 80 | } | 79 | } |
| 81 | 80 | ||
| 82 | message HeroMemoryCompositeRsp{ | 81 | message HeroMemoryCompositeRsp{ |
| @@ -112,4 +111,12 @@ message HeroUpMemorySlotReq { | @@ -112,4 +111,12 @@ message HeroUpMemorySlotReq { | ||
| 112 | message HeroUpMemorySlotRsp { | 111 | message HeroUpMemorySlotRsp { |
| 113 | string hero_id = 1; | 112 | string hero_id = 1; |
| 114 | map<int32,string> slot_memory = 2; | 113 | map<int32,string> slot_memory = 2; |
| 114 | +} | ||
| 115 | + | ||
| 116 | +message HeroBatchMemoryCompositeReq { | ||
| 117 | + int32 memory_fragments = 1; // 兑换成的记忆碎片 | ||
| 118 | +} | ||
| 119 | + | ||
| 120 | +message HeroBatchMemoryCompositeRsp{ | ||
| 121 | + int32 memory_fragments = 1; // 兑换成的记忆碎片 | ||
| 115 | } | 122 | } |
| 116 | \ No newline at end of file | 123 | \ No newline at end of file |
protocode.proto
| @@ -38,6 +38,7 @@ enum ProtoCode | @@ -38,6 +38,7 @@ enum ProtoCode | ||
| 38 | HeroSetMemoryFragmentsRpc = 208; | 38 | HeroSetMemoryFragmentsRpc = 208; |
| 39 | HeroUpGradeRpc = 209; | 39 | HeroUpGradeRpc = 209; |
| 40 | HeroUpMemorySlotRpc = 210; | 40 | HeroUpMemorySlotRpc = 210; |
| 41 | + HeroBatchMemoryCompositeRpc = 211; | ||
| 41 | 42 | ||
| 42 | EmailListRpc = 301; | 43 | EmailListRpc = 301; |
| 43 | EmailDrawRpc = 302; | 44 | EmailDrawRpc = 302; |