Commit ec1f3971aa4190889fdad9a4ea047b05797d44b9
1 parent
d44badc3
feat: 批量技能升级,升到底
Showing
2 changed files
with
11 additions
and
0 deletions
Show diff stats
hero.proto
| @@ -121,4 +121,14 @@ message HeroUpMemorySlotRsp { | @@ -121,4 +121,14 @@ message HeroUpMemorySlotRsp { | ||
| 121 | map<int32,string> slot_memory = 2; | 121 | map<int32,string> slot_memory = 2; |
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | +message HeroBatchSkillUpLevelReq { | ||
| 125 | + string hero_id = 1; | ||
| 126 | + repeated int32 skill_id = 2; | ||
| 127 | +} | ||
| 128 | + | ||
| 129 | +message HeroBatchSkillUpLevelRsp { | ||
| 130 | + string hero_id = 1; | ||
| 131 | + map<int32,int32> skills = 6; | ||
| 132 | +} | ||
| 133 | + | ||
| 124 | 134 |
protocode.proto
| @@ -39,6 +39,7 @@ enum ProtoCode | @@ -39,6 +39,7 @@ enum ProtoCode | ||
| 39 | HeroBatchSetMemoryFragmentsRpc = 209; | 39 | HeroBatchSetMemoryFragmentsRpc = 209; |
| 40 | HeroUpGradeRpc = 210; | 40 | HeroUpGradeRpc = 210; |
| 41 | HeroUpMemorySlotRpc = 211; | 41 | HeroUpMemorySlotRpc = 211; |
| 42 | + HeroBatchSkillUpLevelRpc = 212; | ||
| 42 | 43 | ||
| 43 | EmailListRpc = 301; | 44 | EmailListRpc = 301; |
| 44 | EmailDrawRpc = 302; | 45 | EmailDrawRpc = 302; |