Explorar el Código

Merge branch 'master' of http://git.xwxgame.com/backend/delivery-proto

qianzhuqing hace 3 años
padre
commit
d9c02e4efc
Se han modificado 2 ficheros con 5 adiciones y 3 borrados
  1. 1 0
      protos/sync.proto
  2. 4 3
      protos/user.proto

+ 1 - 0
protos/sync.proto

@@ -50,6 +50,7 @@ message DMessagePush {
 message SyncPush {
     uint64 Step = 1;
     map<string, bytes> Values = 2;
+    uint64 T = 3; // 服务器开始推送时间戳
 }
 
 // 服务器合并用户操作给master

+ 4 - 3
protos/user.proto

@@ -30,7 +30,8 @@ message LoginResponse {
     Result Result = 1;
     uint32 LobbyID = 2;
     uint32 RoomID = 3;
-	uint32 SyncInterval=4;
-	uint32 N=5;
-    string	Errmsg=6;
+    uint32 SyncInterval=4;
+    uint32 N=5;
+    string Errmsg=6;
+    uint64 T = 7;
 }