Commit bbeaa9a752d45d0eb756069e26112a016329e528
1 parent
6326f7a0
feat: 断线重连协议
Showing
2 changed files
with
22 additions
and
0 deletions
Show diff stats
protocode.proto
role.proto
| ... | ... | @@ -224,3 +224,24 @@ message ActivateTalentTreeNodeReq { |
| 224 | 224 | |
| 225 | 225 | message ActivateTalentTreeNodeRsp { |
| 226 | 226 | } |
| 227 | + | |
| 228 | + | |
| 229 | +message ReconnectReq { | |
| 230 | + string token = 1; | |
| 231 | + string device = 2; | |
| 232 | +} | |
| 233 | + | |
| 234 | +message ReconnectRsp { | |
| 235 | + models.Role role = 1; | |
| 236 | + models.Store store = 2; | |
| 237 | + repeated models.Hero hero = 3; | |
| 238 | + repeated models.Team team = 4; | |
| 239 | + repeated models.Equipment equipments = 5; | |
| 240 | + repeated models.GemSlot gem_slot = 6; | |
| 241 | + models.Activity activity = 7; | |
| 242 | + map<int32,bool> activity_open = 8; | |
| 243 | + int64 time_now = 9; | |
| 244 | + models.Task task = 10; | |
| 245 | + map<int32,bool> task_open = 11; | |
| 246 | + map<string,models.Dispatch> dispatch = 12; | |
| 247 | +} | |
| 227 | 248 | \ No newline at end of file | ... | ... |