1234567891011121314151617181920212223242526272829303132333435 |
- syntax = "proto3";
- package protos;
- import "userinfo.proto";
- // 载入游戏请求
- message RestoreRequest {
- }
- // 载入游戏响应
- message RestoreResponse {
- repeated UserInfo Users = 1;
- int64 Step = 2;
- map<string, bytes> Values = 3;
- }
- // 同步消息
- message SyncRequest {
- int64 Step = 1;
- map<string, bytes> Values = 2;
- }
- // 同步消息响应
- message SyncResponse {
- bool Status = 1;
- int64 Step = 2; // status=false时才有值
- map<string, bytes> Values = 3; // status=false时才有值
- }
- // 同步消息推送
- message SyncPush {
- int64 Step = 1;
- map<string, bytes> Values = 2;
- }
|