Commit 35a1465647ba1275f9076b6821a32e82dc45c976
1 parent
c98fddc2
feat: lucky black cat相关协议
Showing
3 changed files
with
27 additions
and
3 deletions
Show diff stats
models.proto
| @@ -138,6 +138,7 @@ message Role { | @@ -138,6 +138,7 @@ message Role { | ||
| 138 | repeated string new_heroes= 31; | 138 | repeated string new_heroes= 31; |
| 139 | 139 | ||
| 140 | map<int32,bool> talent_tree = 32; | 140 | map<int32,bool> talent_tree = 32; |
| 141 | + int32 lucky_seek = 33; // lucky black cat seek | ||
| 141 | } | 142 | } |
| 142 | 143 | ||
| 143 | message Activity { | 144 | message Activity { |
protocode.proto
| @@ -29,6 +29,9 @@ enum ProtoCode | @@ -29,6 +29,9 @@ enum ProtoCode | ||
| 29 | RoleMoppingUpRpc = 121; | 29 | RoleMoppingUpRpc = 121; |
| 30 | ActivateTalentTreeNodeRpc = 122; | 30 | ActivateTalentTreeNodeRpc = 122; |
| 31 | ReconnectRpc = 123; | 31 | ReconnectRpc = 123; |
| 32 | + RoleLuckyStarRpc = 124; | ||
| 33 | + RoleLuckySeekRpc = 125; | ||
| 34 | + RoleLuckyRewardRpc = 126; | ||
| 32 | 35 | ||
| 33 | HeroEquipReferRpc = 201; | 36 | HeroEquipReferRpc = 201; |
| 34 | HeroFragmentCovertRpc = 202; | 37 | HeroFragmentCovertRpc = 202; |
role.proto
| @@ -217,7 +217,6 @@ message RoleMoppingUpRsp { | @@ -217,7 +217,6 @@ message RoleMoppingUpRsp { | ||
| 217 | int32 role_exp = 6; | 217 | int32 role_exp = 6; |
| 218 | } | 218 | } |
| 219 | 219 | ||
| 220 | - | ||
| 221 | message ActivateTalentTreeNodeReq { | 220 | message ActivateTalentTreeNodeReq { |
| 222 | int32 id = 1; | 221 | int32 id = 1; |
| 223 | } | 222 | } |
| @@ -225,7 +224,6 @@ message ActivateTalentTreeNodeReq { | @@ -225,7 +224,6 @@ message ActivateTalentTreeNodeReq { | ||
| 225 | message ActivateTalentTreeNodeRsp { | 224 | message ActivateTalentTreeNodeRsp { |
| 226 | } | 225 | } |
| 227 | 226 | ||
| 228 | - | ||
| 229 | message ReconnectReq { | 227 | message ReconnectReq { |
| 230 | string token = 1; | 228 | string token = 1; |
| 231 | string device = 2; | 229 | string device = 2; |
| @@ -244,4 +242,26 @@ message ReconnectRsp { | @@ -244,4 +242,26 @@ message ReconnectRsp { | ||
| 244 | models.Task task = 10; | 242 | models.Task task = 10; |
| 245 | map<int32,bool> task_open = 11; | 243 | map<int32,bool> task_open = 11; |
| 246 | map<string,models.Dispatch> dispatch = 12; | 244 | map<string,models.Dispatch> dispatch = 12; |
| 247 | -} | ||
| 248 | \ No newline at end of file | 245 | \ No newline at end of file |
| 246 | +} | ||
| 247 | + | ||
| 248 | +message RoleLuckyStarReq { | ||
| 249 | +} | ||
| 250 | + | ||
| 251 | +message RoleLuckyStarRsp { | ||
| 252 | + map<int32,int32> reward = 1; | ||
| 253 | +} | ||
| 254 | + | ||
| 255 | +message RoleLuckySeekReq { | ||
| 256 | + int32 seek = 1; | ||
| 257 | +} | ||
| 258 | + | ||
| 259 | +message RoleLuckySeekRsp { | ||
| 260 | +} | ||
| 261 | + | ||
| 262 | +message RoleLuckyRewardReq { | ||
| 263 | + int32 seek = 1; | ||
| 264 | +} | ||
| 265 | + | ||
| 266 | +message RoleLuckyRewardRsp { | ||
| 267 | + map<int32,int32> reward = 1; | ||
| 268 | +} |