@dcl/protocol 1.0.0-28172947415.commit-c2f6832 → 1.0.0-28173821783.commit-63eb0db
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/README.md +0 -201
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +0 -21
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +6 -85
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +0 -21
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +4 -124
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +0 -8
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +1 -35
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +3 -89
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +2 -166
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +0 -34
- package/package.json +6 -9
- package/proto/buf.yaml +47 -0
- package/proto/decentraland/kernel/apis/restricted_actions.proto +0 -7
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +0 -11
- package/proto/decentraland/sdk/components/avatar_shape.proto +0 -5
- package/proto/decentraland/sdk/components/light_source.proto +1 -1
- package/proto/decentraland/sdk/components/virtual_camera.proto +0 -2
- package/proto/google/LICENSE +27 -0
- package/proto/google/README.md +1 -0
- package/proto/google/api/annotations.json +83 -0
- package/proto/google/api/annotations.proto +11 -0
- package/proto/google/api/http.json +86 -0
- package/proto/google/api/http.proto +31 -0
- package/proto/google/protobuf/api.json +118 -0
- package/proto/google/protobuf/api.proto +34 -0
- package/proto/google/protobuf/descriptor.json +739 -0
- package/proto/google/protobuf/descriptor.proto +286 -0
- package/proto/google/protobuf/source_context.json +20 -0
- package/proto/google/protobuf/source_context.proto +7 -0
- package/proto/google/protobuf/type.json +202 -0
- package/proto/google/protobuf/type.proto +89 -0
- package/proto/decentraland/common/options.proto +0 -30
- package/proto/decentraland/common/quantization_example.proto +0 -132
- package/proto/decentraland/pulse/pulse_client.proto +0 -77
- package/proto/decentraland/pulse/pulse_server.proto +0 -138
- package/proto/decentraland/pulse/pulse_shared.proto +0 -48
- package/protoc-gen-bitwise/generator_csharp.js +0 -215
- package/protoc-gen-bitwise/options.js +0 -108
- package/protoc-gen-bitwise/plugin.js +0 -87
- package/protoc-gen-bitwise/runtime/cs/BitReader.cs +0 -112
- package/protoc-gen-bitwise/runtime/cs/BitWriter.cs +0 -117
- package/protoc-gen-bitwise/runtime/cs/Quantize.cs +0 -35
- package/protoc-gen-bitwise/wire.js +0 -239
|
@@ -16,7 +16,6 @@ message TeleportToRequest {
|
|
|
16
16
|
|
|
17
17
|
message TriggerEmoteRequest {
|
|
18
18
|
string predefined_emote = 1;
|
|
19
|
-
optional uint32 mask = 2;
|
|
20
19
|
}
|
|
21
20
|
|
|
22
21
|
message ChangeRealmRequest {
|
|
@@ -41,7 +40,6 @@ message CommsAdapterRequest {
|
|
|
41
40
|
message TriggerSceneEmoteRequest {
|
|
42
41
|
string src = 1;
|
|
43
42
|
optional bool loop = 2;
|
|
44
|
-
optional uint32 mask = 3;
|
|
45
43
|
}
|
|
46
44
|
|
|
47
45
|
message SuccessResponse {
|
|
@@ -62,8 +60,6 @@ message CopyToClipboardRequest {
|
|
|
62
60
|
|
|
63
61
|
message EmptyResponse { }
|
|
64
62
|
|
|
65
|
-
message StopEmoteRequest { }
|
|
66
|
-
|
|
67
63
|
service RestrictedActionsService {
|
|
68
64
|
// MovePlayerTo will move the player to a position relative to the current scene.
|
|
69
65
|
// If 'duration' field is used in the request, the success response depends on the
|
|
@@ -94,7 +90,4 @@ service RestrictedActionsService {
|
|
|
94
90
|
|
|
95
91
|
// CopyToClipboard copies the provided text into the clipboard
|
|
96
92
|
rpc CopyToClipboard(CopyToClipboardRequest) returns (EmptyResponse) {}
|
|
97
|
-
|
|
98
|
-
// StopEmote will stop the current emote
|
|
99
|
-
rpc StopEmote(StopEmoteRequest) returns (SuccessResponse) {}
|
|
100
93
|
}
|
|
@@ -94,14 +94,6 @@ message PlayerEmote {
|
|
|
94
94
|
uint32 incremental_id = 1;
|
|
95
95
|
string urn = 2;
|
|
96
96
|
float timestamp = 3;
|
|
97
|
-
optional bool is_stopping = 4; // true means the emote has been stopped in the sender's client
|
|
98
|
-
optional bool is_repeating = 5; // true when it is not the first time the looping animation plays
|
|
99
|
-
optional int32 interaction_id = 6; // identifies an interaction univocaly, established when the start animation is triggered
|
|
100
|
-
optional int32 social_emote_outcome = 7; // -1 means it does not use an outcome animation
|
|
101
|
-
optional bool is_reacting = 8; // to a social emote started by other user
|
|
102
|
-
optional string social_emote_initiator = 9; // wallet address of the user that initiated social emote
|
|
103
|
-
optional string target_avatar = 10; // wallet address of the user whose avatar is the target of a directed emote
|
|
104
|
-
optional uint32 mask = 11; // mask for which bones an animation applies to.
|
|
105
97
|
}
|
|
106
98
|
|
|
107
99
|
message SceneEmote {
|
|
@@ -134,9 +126,6 @@ message ProfileResponse {
|
|
|
134
126
|
message Chat {
|
|
135
127
|
string message = 1;
|
|
136
128
|
double timestamp = 2;
|
|
137
|
-
// Extension: optional forwarded_from to identify the original sender when
|
|
138
|
-
// messages are forwarded through an SFU
|
|
139
|
-
optional string forwarded_from = 3;
|
|
140
129
|
}
|
|
141
130
|
|
|
142
131
|
message Scene {
|
|
@@ -25,4 +25,4 @@ message PBLightSource {
|
|
|
25
25
|
optional float inner_angle = 9; // default = 21.8. Inner angle can't be higher than outer angle, otherwise will default to same value. Min value is 0. Max value is 179.
|
|
26
26
|
optional float outer_angle = 10; // default = 30. Outer angle can't be lower than inner angle, otherwise will inner angle will be set to same value. Max value is 179.
|
|
27
27
|
}
|
|
28
|
-
}
|
|
28
|
+
}
|
|
@@ -10,9 +10,7 @@ option (common.ecs_component_id) = 1076;
|
|
|
10
10
|
// an 'instant' transition (like using speed/time = 0)
|
|
11
11
|
// * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
12
12
|
// the holding entity transform).
|
|
13
|
-
// * The fov defines the Field of View of the virtual camera
|
|
14
13
|
message PBVirtualCamera {
|
|
15
14
|
optional common.CameraTransition default_transition = 1;
|
|
16
15
|
optional uint32 look_at_entity = 2;
|
|
17
|
-
optional float fov = 3; // default: 60
|
|
18
16
|
}
|
|
@@ -0,0 +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.
|
|
@@ -0,0 +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.
|
|
@@ -0,0 +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
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +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
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +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;
|
|
31
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nested": {
|
|
3
|
+
"google": {
|
|
4
|
+
"nested": {
|
|
5
|
+
"protobuf": {
|
|
6
|
+
"nested": {
|
|
7
|
+
"Api": {
|
|
8
|
+
"fields": {
|
|
9
|
+
"name": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"id": 1
|
|
12
|
+
},
|
|
13
|
+
"methods": {
|
|
14
|
+
"rule": "repeated",
|
|
15
|
+
"type": "Method",
|
|
16
|
+
"id": 2
|
|
17
|
+
},
|
|
18
|
+
"options": {
|
|
19
|
+
"rule": "repeated",
|
|
20
|
+
"type": "Option",
|
|
21
|
+
"id": 3
|
|
22
|
+
},
|
|
23
|
+
"version": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"id": 4
|
|
26
|
+
},
|
|
27
|
+
"sourceContext": {
|
|
28
|
+
"type": "SourceContext",
|
|
29
|
+
"id": 5
|
|
30
|
+
},
|
|
31
|
+
"mixins": {
|
|
32
|
+
"rule": "repeated",
|
|
33
|
+
"type": "Mixin",
|
|
34
|
+
"id": 6
|
|
35
|
+
},
|
|
36
|
+
"syntax": {
|
|
37
|
+
"type": "Syntax",
|
|
38
|
+
"id": 7
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"Method": {
|
|
43
|
+
"fields": {
|
|
44
|
+
"name": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"id": 1
|
|
47
|
+
},
|
|
48
|
+
"requestTypeUrl": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"id": 2
|
|
51
|
+
},
|
|
52
|
+
"requestStreaming": {
|
|
53
|
+
"type": "bool",
|
|
54
|
+
"id": 3
|
|
55
|
+
},
|
|
56
|
+
"responseTypeUrl": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"id": 4
|
|
59
|
+
},
|
|
60
|
+
"responseStreaming": {
|
|
61
|
+
"type": "bool",
|
|
62
|
+
"id": 5
|
|
63
|
+
},
|
|
64
|
+
"options": {
|
|
65
|
+
"rule": "repeated",
|
|
66
|
+
"type": "Option",
|
|
67
|
+
"id": 6
|
|
68
|
+
},
|
|
69
|
+
"syntax": {
|
|
70
|
+
"type": "Syntax",
|
|
71
|
+
"id": 7
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"Mixin": {
|
|
76
|
+
"fields": {
|
|
77
|
+
"name": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"id": 1
|
|
80
|
+
},
|
|
81
|
+
"root": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"id": 2
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"SourceContext": {
|
|
88
|
+
"fields": {
|
|
89
|
+
"fileName": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"id": 1
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"Option": {
|
|
96
|
+
"fields": {
|
|
97
|
+
"name": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"id": 1
|
|
100
|
+
},
|
|
101
|
+
"value": {
|
|
102
|
+
"type": "Any",
|
|
103
|
+
"id": 2
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"Syntax": {
|
|
108
|
+
"values": {
|
|
109
|
+
"SYNTAX_PROTO2": 0,
|
|
110
|
+
"SYNTAX_PROTO3": 1
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package google.protobuf;
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/source_context.proto";
|
|
6
|
+
import "google/protobuf/type.proto";
|
|
7
|
+
|
|
8
|
+
message Api {
|
|
9
|
+
|
|
10
|
+
string name = 1;
|
|
11
|
+
repeated Method methods = 2;
|
|
12
|
+
repeated Option options = 3;
|
|
13
|
+
string version = 4;
|
|
14
|
+
SourceContext source_context = 5;
|
|
15
|
+
repeated Mixin mixins = 6;
|
|
16
|
+
Syntax syntax = 7;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
message Method {
|
|
20
|
+
|
|
21
|
+
string name = 1;
|
|
22
|
+
string request_type_url = 2;
|
|
23
|
+
bool request_streaming = 3;
|
|
24
|
+
string response_type_url = 4;
|
|
25
|
+
bool response_streaming = 5;
|
|
26
|
+
repeated Option options = 6;
|
|
27
|
+
Syntax syntax = 7;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
message Mixin {
|
|
31
|
+
|
|
32
|
+
string name = 1;
|
|
33
|
+
string root = 2;
|
|
34
|
+
}
|