@dcl/protocol 1.0.0-10418514717.commit-6d26c2b → 1.0.0-10704143848.commit-a0c6d86

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/protocol",
3
- "version": "1.0.0-10418514717.commit-6d26c2b",
3
+ "version": "1.0.0-10704143848.commit-a0c6d86",
4
4
  "description": "",
5
5
  "repository": "decentraland/protocol.git",
6
6
  "homepage": "https://github.com/decentraland/protocol#readme",
@@ -29,5 +29,5 @@
29
29
  "out-js",
30
30
  "public"
31
31
  ],
32
- "commit": "6d26c2b8dd0c4860cd849e5bfb657c8fd707e3b6"
32
+ "commit": "a0c6d866c35d5a289e88046a83594d01c893b76f"
33
33
  }
@@ -0,0 +1,12 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components.common;
3
+
4
+ message CameraTransition {
5
+ optional uint32 from_entity = 1;
6
+ optional uint32 to_entity = 2;
7
+ oneof transition_mode {
8
+ float time = 3;
9
+ float speed = 4; // meters per second; e.g. speed 1 -> 1 meter per second
10
+ }
11
+ // EasingFunction easing_function = 5; // enable in the future
12
+ }
@@ -0,0 +1,20 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components;
3
+ import "decentraland/sdk/components/common/id.proto";
4
+ option (common.ecs_component_id) = 1078;
5
+
6
+ message PBInputModifier {
7
+ // when a boolean = false (default) the message is ignored and doesn't consume bandwidth
8
+ message StandardInput {
9
+ optional bool disable_all = 1;
10
+ optional bool disable_walk = 2;
11
+ optional bool disable_jog = 3;
12
+ optional bool disable_run = 4;
13
+ optional bool disable_jump = 5;
14
+ optional bool disable_emote = 6;
15
+ }
16
+
17
+ oneof mode {
18
+ StandardInput standard = 1;
19
+ }
20
+ }
@@ -0,0 +1,11 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components;
3
+
4
+ import "decentraland/sdk/components/common/id.proto";
5
+ option (common.ecs_component_id) = 1075;
6
+
7
+ // PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment. 0 means none.
8
+ message PBMainCamera {
9
+ uint32 virtual_camera_entity = 1; // currently active virtual camera (default: 0)
10
+ // repeated common.CameraTransition transitionOverrides = 2; // enable in the future
11
+ }
@@ -0,0 +1,15 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components;
3
+
4
+ import "decentraland/sdk/components/common/camera_transition.proto";
5
+ import "decentraland/sdk/components/common/id.proto";
6
+ option (common.ecs_component_id) = 1076;
7
+
8
+ // PBVirtualCamera represents a camera to be used at some point in time during the scene execution
9
+ // * The defaultTransition represents the transition TOWARDS this camera.
10
+ // * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
11
+ // the holding entity transform).
12
+ message PBVirtualCamera {
13
+ common.CameraTransition default_transition = 1;
14
+ optional uint32 look_at_entity = 2;
15
+ }
@@ -1,27 +1,27 @@
1
- Copyright 2014, Google Inc. All rights reserved.
2
-
3
- Redistribution and use in source and binary forms, with or without
4
- modification, are permitted provided that the following conditions are
5
- met:
6
-
7
- * Redistributions of source code must retain the above copyright
8
- notice, this list of conditions and the following disclaimer.
9
- * Redistributions in binary form must reproduce the above
10
- copyright notice, this list of conditions and the following disclaimer
11
- in the documentation and/or other materials provided with the
12
- distribution.
13
- * Neither the name of Google Inc. nor the names of its
14
- contributors may be used to endorse or promote products derived from
15
- this software without specific prior written permission.
16
-
17
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1
+ Copyright 2014, Google Inc. All rights reserved.
2
+
3
+ Redistribution and use in source and binary forms, with or without
4
+ modification, are permitted provided that the following conditions are
5
+ met:
6
+
7
+ * Redistributions of source code must retain the above copyright
8
+ notice, this list of conditions and the following disclaimer.
9
+ * Redistributions in binary form must reproduce the above
10
+ copyright notice, this list of conditions and the following disclaimer
11
+ in the documentation and/or other materials provided with the
12
+ distribution.
13
+ * Neither the name of Google Inc. nor the names of its
14
+ contributors may be used to endorse or promote products derived from
15
+ this software without specific prior written permission.
16
+
17
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1 +1 @@
1
- This folder contains stripped and pre-parsed definitions of common Google types. These files are not used by protobuf.js directly but are here so you can use or include them where required.
1
+ This folder contains stripped and pre-parsed definitions of common Google types. These files are not used by protobuf.js directly but are here so you can use or include them where required.
@@ -1,83 +1,83 @@
1
- {
2
- "nested": {
3
- "google": {
4
- "nested": {
5
- "api": {
6
- "nested": {
7
- "http": {
8
- "type": "HttpRule",
9
- "id": 72295728,
10
- "extend": "google.protobuf.MethodOptions"
11
- },
12
- "HttpRule": {
13
- "oneofs": {
14
- "pattern": {
15
- "oneof": [
16
- "get",
17
- "put",
18
- "post",
19
- "delete",
20
- "patch",
21
- "custom"
22
- ]
23
- }
24
- },
25
- "fields": {
26
- "get": {
27
- "type": "string",
28
- "id": 2
29
- },
30
- "put": {
31
- "type": "string",
32
- "id": 3
33
- },
34
- "post": {
35
- "type": "string",
36
- "id": 4
37
- },
38
- "delete": {
39
- "type": "string",
40
- "id": 5
41
- },
42
- "patch": {
43
- "type": "string",
44
- "id": 6
45
- },
46
- "custom": {
47
- "type": "CustomHttpPattern",
48
- "id": 8
49
- },
50
- "selector": {
51
- "type": "string",
52
- "id": 1
53
- },
54
- "body": {
55
- "type": "string",
56
- "id": 7
57
- },
58
- "additionalBindings": {
59
- "rule": "repeated",
60
- "type": "HttpRule",
61
- "id": 11
62
- }
63
- }
64
- }
65
- }
66
- },
67
- "protobuf": {
68
- "nested": {
69
- "MethodOptions": {
70
- "fields": {},
71
- "extensions": [
72
- [
73
- 1000,
74
- 536870911
75
- ]
76
- ]
77
- }
78
- }
79
- }
80
- }
81
- }
82
- }
1
+ {
2
+ "nested": {
3
+ "google": {
4
+ "nested": {
5
+ "api": {
6
+ "nested": {
7
+ "http": {
8
+ "type": "HttpRule",
9
+ "id": 72295728,
10
+ "extend": "google.protobuf.MethodOptions"
11
+ },
12
+ "HttpRule": {
13
+ "oneofs": {
14
+ "pattern": {
15
+ "oneof": [
16
+ "get",
17
+ "put",
18
+ "post",
19
+ "delete",
20
+ "patch",
21
+ "custom"
22
+ ]
23
+ }
24
+ },
25
+ "fields": {
26
+ "get": {
27
+ "type": "string",
28
+ "id": 2
29
+ },
30
+ "put": {
31
+ "type": "string",
32
+ "id": 3
33
+ },
34
+ "post": {
35
+ "type": "string",
36
+ "id": 4
37
+ },
38
+ "delete": {
39
+ "type": "string",
40
+ "id": 5
41
+ },
42
+ "patch": {
43
+ "type": "string",
44
+ "id": 6
45
+ },
46
+ "custom": {
47
+ "type": "CustomHttpPattern",
48
+ "id": 8
49
+ },
50
+ "selector": {
51
+ "type": "string",
52
+ "id": 1
53
+ },
54
+ "body": {
55
+ "type": "string",
56
+ "id": 7
57
+ },
58
+ "additionalBindings": {
59
+ "rule": "repeated",
60
+ "type": "HttpRule",
61
+ "id": 11
62
+ }
63
+ }
64
+ }
65
+ }
66
+ },
67
+ "protobuf": {
68
+ "nested": {
69
+ "MethodOptions": {
70
+ "fields": {},
71
+ "extensions": [
72
+ [
73
+ 1000,
74
+ 536870911
75
+ ]
76
+ ]
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+ }
83
83
  }
@@ -1,11 +1,11 @@
1
- syntax = "proto3";
2
-
3
- package google.api;
4
-
5
- import "google/api/http.proto";
6
- import "google/protobuf/descriptor.proto";
7
-
8
- extend google.protobuf.MethodOptions {
9
-
10
- HttpRule http = 72295728;
1
+ syntax = "proto3";
2
+
3
+ package google.api;
4
+
5
+ import "google/api/http.proto";
6
+ import "google/protobuf/descriptor.proto";
7
+
8
+ extend google.protobuf.MethodOptions {
9
+
10
+ HttpRule http = 72295728;
11
11
  }
@@ -1,86 +1,86 @@
1
- {
2
- "nested": {
3
- "google": {
4
- "nested": {
5
- "api": {
6
- "nested": {
7
- "Http": {
8
- "fields": {
9
- "rules": {
10
- "rule": "repeated",
11
- "type": "HttpRule",
12
- "id": 1
13
- }
14
- }
15
- },
16
- "HttpRule": {
17
- "oneofs": {
18
- "pattern": {
19
- "oneof": [
20
- "get",
21
- "put",
22
- "post",
23
- "delete",
24
- "patch",
25
- "custom"
26
- ]
27
- }
28
- },
29
- "fields": {
30
- "get": {
31
- "type": "string",
32
- "id": 2
33
- },
34
- "put": {
35
- "type": "string",
36
- "id": 3
37
- },
38
- "post": {
39
- "type": "string",
40
- "id": 4
41
- },
42
- "delete": {
43
- "type": "string",
44
- "id": 5
45
- },
46
- "patch": {
47
- "type": "string",
48
- "id": 6
49
- },
50
- "custom": {
51
- "type": "CustomHttpPattern",
52
- "id": 8
53
- },
54
- "selector": {
55
- "type": "string",
56
- "id": 1
57
- },
58
- "body": {
59
- "type": "string",
60
- "id": 7
61
- },
62
- "additionalBindings": {
63
- "rule": "repeated",
64
- "type": "HttpRule",
65
- "id": 11
66
- }
67
- }
68
- },
69
- "CustomHttpPattern": {
70
- "fields": {
71
- "kind": {
72
- "type": "string",
73
- "id": 1
74
- },
75
- "path": {
76
- "type": "string",
77
- "id": 2
78
- }
79
- }
80
- }
81
- }
82
- }
83
- }
84
- }
85
- }
1
+ {
2
+ "nested": {
3
+ "google": {
4
+ "nested": {
5
+ "api": {
6
+ "nested": {
7
+ "Http": {
8
+ "fields": {
9
+ "rules": {
10
+ "rule": "repeated",
11
+ "type": "HttpRule",
12
+ "id": 1
13
+ }
14
+ }
15
+ },
16
+ "HttpRule": {
17
+ "oneofs": {
18
+ "pattern": {
19
+ "oneof": [
20
+ "get",
21
+ "put",
22
+ "post",
23
+ "delete",
24
+ "patch",
25
+ "custom"
26
+ ]
27
+ }
28
+ },
29
+ "fields": {
30
+ "get": {
31
+ "type": "string",
32
+ "id": 2
33
+ },
34
+ "put": {
35
+ "type": "string",
36
+ "id": 3
37
+ },
38
+ "post": {
39
+ "type": "string",
40
+ "id": 4
41
+ },
42
+ "delete": {
43
+ "type": "string",
44
+ "id": 5
45
+ },
46
+ "patch": {
47
+ "type": "string",
48
+ "id": 6
49
+ },
50
+ "custom": {
51
+ "type": "CustomHttpPattern",
52
+ "id": 8
53
+ },
54
+ "selector": {
55
+ "type": "string",
56
+ "id": 1
57
+ },
58
+ "body": {
59
+ "type": "string",
60
+ "id": 7
61
+ },
62
+ "additionalBindings": {
63
+ "rule": "repeated",
64
+ "type": "HttpRule",
65
+ "id": 11
66
+ }
67
+ }
68
+ },
69
+ "CustomHttpPattern": {
70
+ "fields": {
71
+ "kind": {
72
+ "type": "string",
73
+ "id": 1
74
+ },
75
+ "path": {
76
+ "type": "string",
77
+ "id": 2
78
+ }
79
+ }
80
+ }
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
86
  }
@@ -1,31 +1,31 @@
1
- syntax = "proto3";
2
-
3
- package google.api;
4
-
5
- message Http {
6
-
7
- repeated HttpRule rules = 1;
8
- }
9
-
10
- message HttpRule {
11
-
12
- oneof pattern {
13
-
14
- string get = 2;
15
- string put = 3;
16
- string post = 4;
17
- string delete = 5;
18
- string patch = 6;
19
- CustomHttpPattern custom = 8;
20
- }
21
-
22
- string selector = 1;
23
- string body = 7;
24
- repeated HttpRule additional_bindings = 11;
25
- }
26
-
27
- message CustomHttpPattern {
28
-
29
- string kind = 1;
30
- string path = 2;
1
+ syntax = "proto3";
2
+
3
+ package google.api;
4
+
5
+ message Http {
6
+
7
+ repeated HttpRule rules = 1;
8
+ }
9
+
10
+ message HttpRule {
11
+
12
+ oneof pattern {
13
+
14
+ string get = 2;
15
+ string put = 3;
16
+ string post = 4;
17
+ string delete = 5;
18
+ string patch = 6;
19
+ CustomHttpPattern custom = 8;
20
+ }
21
+
22
+ string selector = 1;
23
+ string body = 7;
24
+ repeated HttpRule additional_bindings = 11;
25
+ }
26
+
27
+ message CustomHttpPattern {
28
+
29
+ string kind = 1;
30
+ string path = 2;
31
31
  }