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,3 +138,12 @@ message HeroOpenNewReq { | ||
138 | message HeroOpenNewRsp { | 138 | message HeroOpenNewRsp { |
139 | repeated string new_heroes = 1; | 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 | \ No newline at end of file | 150 | \ No newline at end of file |
models.proto
@@ -27,6 +27,8 @@ message Hero { | @@ -27,6 +27,8 @@ message Hero { | ||
27 | int32 rein_count = 9; | 27 | int32 rein_count = 9; |
28 | map<int32,string> slot_memory = 10; // [slot_id:itemId=star=exp] | 28 | map<int32,string> slot_memory = 10; // [slot_id:itemId=star=exp] |
29 | int32 grade = 11; | 29 | int32 grade = 11; |
30 | + int32 favorability_level = 12; | ||
31 | + int32 favorability_exp = 13; | ||
30 | } | 32 | } |
31 | 33 | ||
32 | message Equipment { | 34 | message Equipment { |
@@ -153,6 +155,7 @@ message Task { | @@ -153,6 +155,7 @@ message Task { | ||
153 | 155 | ||
154 | map<int32,string> specify_task = 6; | 156 | map<int32,string> specify_task = 6; |
155 | map<int32,int32> achievement_task = 7; | 157 | map<int32,int32> achievement_task = 7; |
158 | + map<int32,int32> favorability_task = 8; | ||
156 | } | 159 | } |
157 | 160 | ||
158 | message Dispatch { | 161 | message Dispatch { |
protocode.proto
@@ -43,6 +43,7 @@ enum ProtoCode | @@ -43,6 +43,7 @@ enum ProtoCode | ||
43 | HeroUpMemorySlotRpc = 211; | 43 | HeroUpMemorySlotRpc = 211; |
44 | HeroBatchSkillUpLevelRpc = 212; | 44 | HeroBatchSkillUpLevelRpc = 212; |
45 | HeroOpenNewRpc = 213; | 45 | HeroOpenNewRpc = 213; |
46 | + HeroCostUpPropertyRpc = 214; | ||
46 | 47 | ||
47 | EmailListRpc = 301; | 48 | EmailListRpc = 301; |
48 | EmailDrawRpc = 302; | 49 | EmailDrawRpc = 302; |