王虎 3 năm trước cách đây
mục cha
commit
34ec4b3f4f
2 tập tin đã thay đổi với 5 bổ sung3 xóa
  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;
 }