diff --git a/src/sync_data_message.proto b/src/sync_data_message.proto new file mode 100644 index 0000000..49b2ec7 --- /dev/null +++ b/src/sync_data_message.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + +package sync_data_message; +import "common.proto"; + +// 电子地图数据 +message SyncData { + String operationType = 1; + repeated UpdataData datas = 2; +} + + +message UpdataData { + uint32 id = 1; + string type = 2; + bytes data = 3; +}