@dcl/protocol 1.0.0-2825359340.commit-a339b67 → 1.0.0-2840825066.commit-36a3e9c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,64 @@
1
+ syntax = "proto3";
2
+
3
+ package protocol;
4
+
5
+ message Position {
6
+ double time = 2;
7
+ float position_x = 3;
8
+ float position_y = 4;
9
+ float position_z = 5;
10
+ float rotation_x = 6;
11
+ float rotation_y = 7;
12
+ float rotation_z = 8;
13
+ float rotation_w = 9;
14
+ }
15
+
16
+ message Profile {
17
+ double time = 2;
18
+ string profile_version = 3;
19
+ enum ProfileType {
20
+ LOCAL = 0;
21
+ DEPLOYED = 1;
22
+ }
23
+ ProfileType profile_type = 4;
24
+ }
25
+
26
+ message ProfileRequest {
27
+ double time = 2;
28
+ string profile_version = 3;
29
+ string user_id = 4;
30
+ }
31
+
32
+ message ProfileResponse {
33
+ double time = 2;
34
+ string serialized_profile = 3;
35
+ }
36
+
37
+ message Chat {
38
+ double time = 2;
39
+ string message_id = 3;
40
+ string text = 4;
41
+ }
42
+
43
+ message Scene {
44
+ double time = 2;
45
+ string scene_id = 3;
46
+ string data = 4;
47
+ }
48
+
49
+ message Voice {
50
+ bytes encoded_samples = 2;
51
+ uint32 index = 3;
52
+ }
53
+
54
+ message Data {
55
+ oneof message {
56
+ Position position = 1;
57
+ Profile profile = 2;
58
+ ProfileRequest profile_request = 3;
59
+ ProfileResponse profile_response = 4;
60
+ Chat chat = 5;
61
+ Scene scene = 6;
62
+ Voice voice = 7;
63
+ }
64
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/protocol",
3
- "version": "1.0.0-2825359340.commit-a339b67",
3
+ "version": "1.0.0-2840825066.commit-36a3e9c",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -8,14 +8,14 @@
8
8
  },
9
9
  "keywords": [],
10
10
  "author": "",
11
- "license": "ISC",
11
+ "license": "Apache-2.0",
12
12
  "devDependencies": {
13
- "proto-compatibility-tool": "^1.0.0"
13
+ "proto-compatibility-tool": "^1.1.1-20220811001836.commit-414739b"
14
14
  },
15
15
  "files": [
16
16
  "kernel",
17
17
  "renderer-protocol",
18
18
  "ecs"
19
19
  ],
20
- "commit": "a339b67daa963ae663bdfc9580d9b975013802c2"
20
+ "commit": "36a3e9c17b702b4edabfe7ee25c97b0e8dc6848a"
21
21
  }