瀏覽代碼

修改InnerMessageProto,DB消息相关Component字段改成ComponentWithId

tanghai 7 年之前
父節點
當前提交
2f128ea0a2
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      Proto/InnerMessage.proto

+ 5 - 5
Proto/InnerMessage.proto

@@ -44,7 +44,7 @@
 
 		required string CollectionName = 2;
 
-		required Component Component = 3;
+		required ComponentWithId Component = 3;
 	}
 
 
@@ -56,7 +56,7 @@
 	{
 		required bool NeedCache = 1;
 		required string CollectionName = 2;
-		repeated Component Components = 3;
+		repeated ComponentWithId Components = 3;
 	}
 
 	message DBSaveResponse // IResponse
@@ -72,7 +72,7 @@
 
 	message DBQueryResponse // IResponse
 	{
-		required Component Component = 1;
+		required ComponentWithId Component = 1;
 	}
 
 	message DBQueryBatchRequest // IRequest
@@ -84,7 +84,7 @@
 
 	message DBQueryBatchResponse // IResponse
 	{
-		repeated Component Components = 1;
+		repeated ComponentWithId Components = 1;
 	}
 
 	message DBQueryJsonRequest // IRequest
@@ -96,7 +96,7 @@
 
 	message DBQueryJsonResponse // IResponse
 	{
-		repeated Component Components = 1;
+		repeated ComponentWithId Components = 1;
 	}
 
 	message ObjectAddRequest // IRequest