12345678910111213141516171819202122232425262728293031 |
- syntax = "proto3";
- package protos;
- // 载入游戏请求
- message RestoreRequest {
- }
- // 载入游戏响应
- message RestoreResponse {
- map<int32, 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;
- }
- // 同步消息推送
- message SyncPush {
- int64 Step = 1;
- map<string, bytes> Values = 2;
- }
|