Commit 3854a2a885e78b1fce9471b6b09b9bc67211bf87
1 parent
4e2a3057
feat: 增加批量装备记忆碎片协议
Showing
2 changed files
with
13 additions
and
2 deletions
Show diff stats
hero.proto
... | ... | @@ -91,6 +91,16 @@ message HeroSetMemoryFragmentsRsp { |
91 | 91 | map<int32,string> slot_memory = 2; |
92 | 92 | } |
93 | 93 | |
94 | +message HeroBatchSetMemoryFragmentsReq { | |
95 | + string hero_id = 1; | |
96 | + map<int32,string> slot_memory = 2; | |
97 | +} | |
98 | + | |
99 | +message HeroBatchSetMemoryFragmentsRsp { | |
100 | + string hero_id = 1; | |
101 | + map<int32,string> slot_memory = 2; | |
102 | +} | |
103 | + | |
94 | 104 | message HeroUpGradeReq { |
95 | 105 | string hero_id = 1; |
96 | 106 | } | ... | ... |
protocode.proto
... | ... | @@ -36,8 +36,9 @@ enum ProtoCode |
36 | 36 | HeroSkillUpLevelRpc = 206; |
37 | 37 | HeroBatchMemoryCompositeRpc = 207; |
38 | 38 | HeroSetMemoryFragmentsRpc = 208; |
39 | - HeroUpGradeRpc = 209; | |
40 | - HeroUpMemorySlotRpc = 210; | |
39 | + HeroBatchSetMemoryFragmentsRpc = 209; | |
40 | + HeroUpGradeRpc = 210; | |
41 | + HeroUpMemorySlotRpc = 211; | |
41 | 42 | |
42 | 43 | EmailListRpc = 301; |
43 | 44 | EmailDrawRpc = 302; | ... | ... |