Commit 2116a162ff1647a36986d4cfa7cfb46775459122
1 parent
4ae9c7e0
add: 素材副本协议
Showing
3 changed files
with
18 additions
and
0 deletions
Show diff stats
models.proto
| @@ -142,6 +142,7 @@ message Role { | @@ -142,6 +142,7 @@ message Role { | ||
| 142 | map<int32,bool> talent_tree = 32; | 142 | map<int32,bool> talent_tree = 32; |
| 143 | int32 lucky_seek = 33; // lucky black cat seek | 143 | int32 lucky_seek = 33; // lucky black cat seek |
| 144 | bool del = 34; | 144 | bool del = 34; |
| 145 | + int32 copies_num = 35; | ||
| 145 | } | 146 | } |
| 146 | 147 | ||
| 147 | message Activity { | 148 | message Activity { |
protocode.proto
| @@ -35,6 +35,8 @@ enum ProtoCode | @@ -35,6 +35,8 @@ enum ProtoCode | ||
| 35 | RoleCostDiamondAddSpRpc = 127; | 35 | RoleCostDiamondAddSpRpc = 127; |
| 36 | RoleActivityCarbonStartRpc = 128; | 36 | RoleActivityCarbonStartRpc = 128; |
| 37 | RoleActivityCarbonEndRpc = 129; | 37 | RoleActivityCarbonEndRpc = 129; |
| 38 | + RoleMaterialCopyStartRpc = 130; | ||
| 39 | + RoleMaterialCopyEndRpc = 131; | ||
| 38 | 40 | ||
| 39 | HeroEquipReferRpc = 201; | 41 | HeroEquipReferRpc = 201; |
| 40 | HeroFragmentCovertRpc = 202; | 42 | HeroFragmentCovertRpc = 202; |
role.proto
| @@ -297,3 +297,18 @@ message RoleActivityCarbonEndReq { | @@ -297,3 +297,18 @@ message RoleActivityCarbonEndReq { | ||
| 297 | message RoleActivityCarbonEndRsp { | 297 | message RoleActivityCarbonEndRsp { |
| 298 | map<int32,int32> reward = 1; | 298 | map<int32,int32> reward = 1; |
| 299 | } | 299 | } |
| 300 | + | ||
| 301 | +message RoleMaterialCopyStartReq { | ||
| 302 | +} | ||
| 303 | + | ||
| 304 | +message RoleMaterialCopyStartRsp { | ||
| 305 | + int32 copies_num = 1; | ||
| 306 | +} | ||
| 307 | + | ||
| 308 | +message RoleMaterialCopyEndReq { | ||
| 309 | + bool pass = 1; | ||
| 310 | +} | ||
| 311 | + | ||
| 312 | +message RoleMaterialCopyEndRsp { | ||
| 313 | + map<int32, int32> reward = 1; | ||
| 314 | +} |