Commit 1459769fb3ded863836c03026ab9ff2f718e9b3a
1 parent
bbeaa9a7
fix: update
Showing
3 changed files
with
13 additions
and
0 deletions
Show diff stats
hero.proto
| ... | ... | @@ -138,3 +138,12 @@ message HeroOpenNewReq { |
| 138 | 138 | message HeroOpenNewRsp { |
| 139 | 139 | repeated string new_heroes = 1; |
| 140 | 140 | } |
| 141 | + | |
| 142 | +message HeroCostUpPropertyReq { | |
| 143 | + string hero_id = 1; | |
| 144 | + map<int32,int32> costs = 2; | |
| 145 | +} | |
| 146 | + | |
| 147 | +message HeroCostUpPropertyRsp { | |
| 148 | + models.Hero hero = 1; | |
| 149 | +} | |
| 141 | 150 | \ No newline at end of file | ... | ... |
models.proto
| ... | ... | @@ -27,6 +27,8 @@ message Hero { |
| 27 | 27 | int32 rein_count = 9; |
| 28 | 28 | map<int32,string> slot_memory = 10; // [slot_id:itemId=star=exp] |
| 29 | 29 | int32 grade = 11; |
| 30 | + int32 favorability_level = 12; | |
| 31 | + int32 favorability_exp = 13; | |
| 30 | 32 | } |
| 31 | 33 | |
| 32 | 34 | message Equipment { |
| ... | ... | @@ -153,6 +155,7 @@ message Task { |
| 153 | 155 | |
| 154 | 156 | map<int32,string> specify_task = 6; |
| 155 | 157 | map<int32,int32> achievement_task = 7; |
| 158 | + map<int32,int32> favorability_task = 8; | |
| 156 | 159 | } |
| 157 | 160 | |
| 158 | 161 | message Dispatch { | ... | ... |