@dcl/protocol 1.0.0-16294849865.commit-346fe2d → 1.0.0-16428499484.commit-7aab7c2
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/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +1 -9
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +11 -49
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.d.ts +57 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js +164 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js.map +1 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +22 -838
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +943 -5095
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -1
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +10 -59
- package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +948 -5639
- package/package.json +3 -3
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +3 -8
- package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
- package/proto/decentraland/sdk/components/virtual_camera.proto +0 -2
- package/proto/decentraland/social_service/v2/social_service_v2.proto +9 -347
- package/public/sdk-components.proto +1 -0
- package/proto/decentraland/sdk/components/light_source.proto +0 -35
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/protocol",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-16428499484.commit-7aab7c2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": "decentraland/protocol.git",
|
|
6
6
|
"homepage": "https://github.com/decentraland/protocol#readme",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"test": "./scripts/check-proto-compabitility.sh"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@protobuf-ts/protoc": "^2.
|
|
16
|
+
"@protobuf-ts/protoc": "^2.8.1",
|
|
17
17
|
"proto-compatibility-tool": "^1.1.2-20220925163655.commit-25bd040",
|
|
18
18
|
"typescript": "^5.0.4"
|
|
19
19
|
},
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"out-js",
|
|
31
31
|
"public"
|
|
32
32
|
],
|
|
33
|
-
"commit": "
|
|
33
|
+
"commit": "7aab7c2283cf58d6bfa82ac990af42933526ef45"
|
|
34
34
|
}
|
|
@@ -55,11 +55,10 @@ message Movement {
|
|
|
55
55
|
bool is_long_jump = 12;
|
|
56
56
|
bool is_long_fall = 13;
|
|
57
57
|
bool is_falling = 14;
|
|
58
|
+
|
|
58
59
|
bool is_stunned = 15;
|
|
60
|
+
|
|
59
61
|
float rotation_y = 16;
|
|
60
|
-
// interpolation
|
|
61
|
-
bool is_instant = 17;
|
|
62
|
-
bool is_emoting = 18;
|
|
63
62
|
}
|
|
64
63
|
|
|
65
64
|
message MovementCompressed {
|
|
@@ -68,7 +67,7 @@ message MovementCompressed {
|
|
|
68
67
|
}
|
|
69
68
|
|
|
70
69
|
message PlayerEmote {
|
|
71
|
-
|
|
70
|
+
uint32 incremental_id = 1;
|
|
72
71
|
string urn = 2;
|
|
73
72
|
}
|
|
74
73
|
|
|
@@ -102,10 +101,6 @@ message ProfileResponse {
|
|
|
102
101
|
message Chat {
|
|
103
102
|
string message = 1;
|
|
104
103
|
double timestamp = 2;
|
|
105
|
-
|
|
106
|
-
// Extension: optional forwarded_from to identify the original sender when
|
|
107
|
-
// messages are forwarded through an SFU
|
|
108
|
-
optional string forwarded_from = 3;
|
|
109
104
|
}
|
|
110
105
|
|
|
111
106
|
message Scene {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
import "decentraland/sdk/components/material.proto";
|
|
7
|
+
|
|
8
|
+
option (common.ecs_component_id) = 1099;
|
|
9
|
+
|
|
10
|
+
// GltfNodeModifiers component is to be used attached to entities that have the GltfContainer component.
|
|
11
|
+
//
|
|
12
|
+
// This allows to override either the Material or the Casting Shadows behaviour of the target GLTF Node.
|
|
13
|
+
//
|
|
14
|
+
// * If the 'path' of the first modifier in the collection is an empty string: the configuration will
|
|
15
|
+
// affect all of the GLTF Nodes (as a global modifier).
|
|
16
|
+
// * Otherwise, for the modifiers whose 'path' is found in the GLTF hierarchy, the modifier will affect only
|
|
17
|
+
// the target Nodes.
|
|
18
|
+
message PBGltfNodeModifiers {
|
|
19
|
+
message GltfNodeModifier {
|
|
20
|
+
string path = 1; // The GLTF hierarchy path of the target Node to be affected
|
|
21
|
+
optional bool cast_shadows = 2; // The casting shadows enabled override
|
|
22
|
+
optional PBMaterial material = 3; // The Material that will be overridden on the target Node
|
|
23
|
+
}
|
|
24
|
+
repeated GltfNodeModifier modifiers = 1;
|
|
25
|
+
}
|
|
@@ -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
|
}
|
|
@@ -4,56 +4,21 @@ package decentraland.social_service.v2;
|
|
|
4
4
|
import "google/protobuf/empty.proto";
|
|
5
5
|
|
|
6
6
|
// Errors
|
|
7
|
-
message InvalidFriendshipAction {
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
message InternalServerError {
|
|
11
|
-
optional string message = 1;
|
|
12
|
-
}
|
|
13
|
-
message InvalidRequest {
|
|
14
|
-
optional string message = 1;
|
|
15
|
-
}
|
|
16
|
-
message ProfileNotFound {
|
|
17
|
-
optional string message = 1;
|
|
18
|
-
}
|
|
19
|
-
message ConflictingError {
|
|
20
|
-
optional string message = 1;
|
|
21
|
-
}
|
|
22
|
-
message ForbiddenError {
|
|
23
|
-
optional string message = 1;
|
|
24
|
-
}
|
|
25
|
-
message NotFoundError {
|
|
26
|
-
optional string message = 1;
|
|
27
|
-
}
|
|
7
|
+
message InvalidFriendshipAction {}
|
|
8
|
+
message InternalServerError {}
|
|
28
9
|
|
|
29
10
|
// Types
|
|
30
11
|
message User { string address = 1; }
|
|
31
12
|
|
|
32
|
-
message FriendProfile {
|
|
33
|
-
string address = 1;
|
|
34
|
-
string name = 2;
|
|
35
|
-
bool has_claimed_name = 3;
|
|
36
|
-
string profile_picture_url = 4;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
message BlockedUserProfile {
|
|
40
|
-
string address = 1;
|
|
41
|
-
string name = 2;
|
|
42
|
-
bool has_claimed_name = 3;
|
|
43
|
-
string profile_picture_url = 4;
|
|
44
|
-
optional int64 blocked_at = 5;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
13
|
message Pagination {
|
|
48
14
|
int32 limit = 1;
|
|
49
15
|
int32 offset = 2;
|
|
50
16
|
}
|
|
51
17
|
|
|
52
18
|
message FriendshipRequestResponse {
|
|
53
|
-
|
|
19
|
+
User user = 1;
|
|
54
20
|
int64 created_at = 2;
|
|
55
21
|
optional string message = 3;
|
|
56
|
-
string id = 4;
|
|
57
22
|
}
|
|
58
23
|
|
|
59
24
|
message FriendshipRequests {
|
|
@@ -68,6 +33,7 @@ enum ConnectivityStatus {
|
|
|
68
33
|
|
|
69
34
|
message GetFriendsPayload {
|
|
70
35
|
optional Pagination pagination = 1;
|
|
36
|
+
optional ConnectivityStatus status = 2;
|
|
71
37
|
}
|
|
72
38
|
|
|
73
39
|
message GetFriendshipRequestsPayload {
|
|
@@ -103,8 +69,8 @@ message PaginatedResponse {
|
|
|
103
69
|
int32 page = 2;
|
|
104
70
|
}
|
|
105
71
|
|
|
106
|
-
message
|
|
107
|
-
repeated
|
|
72
|
+
message PaginatedUsersResponse {
|
|
73
|
+
repeated User users = 1;
|
|
108
74
|
PaginatedResponse pagination_data = 2;
|
|
109
75
|
}
|
|
110
76
|
|
|
@@ -120,8 +86,6 @@ message UpsertFriendshipResponse {
|
|
|
120
86
|
message Accepted {
|
|
121
87
|
string id = 1;
|
|
122
88
|
int64 created_at = 2;
|
|
123
|
-
FriendProfile friend = 3;
|
|
124
|
-
optional string message = 4;
|
|
125
89
|
}
|
|
126
90
|
oneof response {
|
|
127
91
|
Accepted accepted = 1;
|
|
@@ -131,33 +95,20 @@ message UpsertFriendshipResponse {
|
|
|
131
95
|
}
|
|
132
96
|
|
|
133
97
|
message FriendshipUpdate {
|
|
134
|
-
message RequestResponse {
|
|
135
|
-
FriendProfile friend = 1;
|
|
136
|
-
int64 created_at = 2;
|
|
137
|
-
optional string message = 3;
|
|
138
|
-
string id = 4;
|
|
139
|
-
}
|
|
140
98
|
message AcceptResponse { User user = 1; }
|
|
141
99
|
message RejectResponse { User user = 1; }
|
|
142
100
|
message DeleteResponse { User user = 1; }
|
|
143
101
|
message CancelResponse { User user = 1; }
|
|
144
|
-
message BlockResponse { User user = 1; }
|
|
145
102
|
|
|
146
103
|
oneof update {
|
|
147
|
-
|
|
104
|
+
FriendshipRequestResponse request = 1;
|
|
148
105
|
AcceptResponse accept = 2;
|
|
149
106
|
RejectResponse reject = 3;
|
|
150
107
|
DeleteResponse delete = 4;
|
|
151
108
|
CancelResponse cancel = 5;
|
|
152
|
-
BlockResponse block = 6;
|
|
153
109
|
}
|
|
154
110
|
}
|
|
155
111
|
|
|
156
|
-
message FriendConnectivityUpdate {
|
|
157
|
-
FriendProfile friend = 1;
|
|
158
|
-
ConnectivityStatus status = 2;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
112
|
message GetFriendshipStatusPayload {
|
|
162
113
|
User user = 1;
|
|
163
114
|
}
|
|
@@ -170,8 +121,6 @@ enum FriendshipStatus {
|
|
|
170
121
|
REJECTED = 4;
|
|
171
122
|
DELETED = 5;
|
|
172
123
|
BLOCKED = 6;
|
|
173
|
-
NONE = 7;
|
|
174
|
-
BLOCKED_BY = 8;
|
|
175
124
|
}
|
|
176
125
|
|
|
177
126
|
message GetFriendshipStatusResponse {
|
|
@@ -185,253 +134,12 @@ message GetFriendshipStatusResponse {
|
|
|
185
134
|
}
|
|
186
135
|
}
|
|
187
136
|
|
|
188
|
-
message BlockUserPayload {
|
|
189
|
-
User user = 1;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
message BlockUserResponse {
|
|
193
|
-
message Ok {
|
|
194
|
-
BlockedUserProfile profile = 1;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
oneof response {
|
|
198
|
-
Ok ok = 1;
|
|
199
|
-
InternalServerError internal_server_error = 2;
|
|
200
|
-
InvalidRequest invalid_request = 3;
|
|
201
|
-
ProfileNotFound profile_not_found = 4;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
message UnblockUserPayload {
|
|
206
|
-
User user = 1;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
message UnblockUserResponse {
|
|
210
|
-
message Ok {
|
|
211
|
-
BlockedUserProfile profile = 1;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
oneof response {
|
|
215
|
-
Ok ok = 1;
|
|
216
|
-
InternalServerError internal_server_error = 2;
|
|
217
|
-
InvalidRequest invalid_request = 3;
|
|
218
|
-
ProfileNotFound profile_not_found = 4;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
enum PrivateMessagePrivacySetting {
|
|
223
|
-
ALL = 0;
|
|
224
|
-
ONLY_FRIENDS = 1;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
enum BlockedUsersMessagesVisibilitySetting {
|
|
228
|
-
SHOW_MESSAGES = 0;
|
|
229
|
-
DO_NOT_SHOW_MESSAGES = 1;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
message SocialSettings {
|
|
233
|
-
PrivateMessagePrivacySetting private_messages_privacy = 1;
|
|
234
|
-
BlockedUsersMessagesVisibilitySetting blocked_users_messages_visibility = 2;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
message GetSocialSettingsResponse {
|
|
238
|
-
message Ok {
|
|
239
|
-
SocialSettings settings = 1;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
oneof response {
|
|
243
|
-
Ok ok = 1;
|
|
244
|
-
InternalServerError internal_server_error = 2;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
message UpsertSocialSettingsPayload {
|
|
249
|
-
optional PrivateMessagePrivacySetting private_messages_privacy = 1;
|
|
250
|
-
optional BlockedUsersMessagesVisibilitySetting blocked_users_messages_visibility = 2;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
message UpsertSocialSettingsResponse {
|
|
254
|
-
oneof response {
|
|
255
|
-
SocialSettings ok = 1;
|
|
256
|
-
InternalServerError internal_server_error = 2;
|
|
257
|
-
InvalidRequest invalid_request = 3;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
message GetPrivateMessagesSettingsPayload {
|
|
262
|
-
repeated User user = 1;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
message GetPrivateMessagesSettingsResponse {
|
|
266
|
-
message PrivateMessagesSettings {
|
|
267
|
-
User user = 1;
|
|
268
|
-
PrivateMessagePrivacySetting private_messages_privacy = 2;
|
|
269
|
-
bool is_friend = 3;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
message Ok {
|
|
273
|
-
repeated PrivateMessagesSettings settings = 1;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
oneof response {
|
|
277
|
-
Ok ok = 1;
|
|
278
|
-
InternalServerError internal_server_error = 2;
|
|
279
|
-
InvalidRequest invalid_request = 3;
|
|
280
|
-
ProfileNotFound profile_not_found = 4;
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
message GetBlockedUsersPayload {
|
|
285
|
-
optional Pagination pagination = 1;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
message GetBlockedUsersResponse {
|
|
289
|
-
repeated BlockedUserProfile profiles = 1;
|
|
290
|
-
PaginatedResponse pagination_data = 2;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
message GetBlockingStatusResponse {
|
|
294
|
-
repeated string blocked_users = 1;
|
|
295
|
-
repeated string blocked_by_users = 2;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
message BlockUpdate {
|
|
299
|
-
string address = 1;
|
|
300
|
-
bool is_blocked = 2;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
message CommunityMemberConnectivityUpdate {
|
|
304
|
-
string community_id = 1;
|
|
305
|
-
User member = 2;
|
|
306
|
-
ConnectivityStatus status = 3;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
// Private voice chats
|
|
310
|
-
|
|
311
|
-
// Starting a private voice chat
|
|
312
|
-
|
|
313
|
-
message StartPrivateVoiceChatPayload {
|
|
314
|
-
User callee = 1;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
message StartPrivateVoiceChatResponse {
|
|
318
|
-
message Ok {
|
|
319
|
-
string call_id = 1;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
oneof response {
|
|
323
|
-
Ok ok = 1;
|
|
324
|
-
InternalServerError internal_server_error = 2;
|
|
325
|
-
InvalidRequest invalid_request = 3;
|
|
326
|
-
ConflictingError conflicting_error = 4;
|
|
327
|
-
ForbiddenError forbidden_error = 5;
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
// Accepting a private voice chat
|
|
332
|
-
|
|
333
|
-
message AcceptPrivateVoiceChatPayload {
|
|
334
|
-
string call_id = 1;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
message AcceptPrivateVoiceChatResponse {
|
|
338
|
-
message Ok {
|
|
339
|
-
string call_id = 1;
|
|
340
|
-
PrivateVoiceChatCredentials credentials = 2;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
oneof response {
|
|
344
|
-
Ok ok = 1;
|
|
345
|
-
InternalServerError internal_server_error = 2;
|
|
346
|
-
InvalidRequest invalid_request = 3;
|
|
347
|
-
NotFoundError not_found = 4;
|
|
348
|
-
ForbiddenError forbidden_error = 5;
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
// Rejecting a private voice chat
|
|
353
|
-
|
|
354
|
-
message RejectPrivateVoiceChatPayload {
|
|
355
|
-
string call_id = 1;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
message RejectPrivateVoiceChatResponse {
|
|
359
|
-
message Ok {
|
|
360
|
-
string call_id = 1;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
oneof response {
|
|
364
|
-
Ok ok = 1;
|
|
365
|
-
InternalServerError internal_server_error = 2;
|
|
366
|
-
InvalidRequest invalid_request = 3;
|
|
367
|
-
NotFoundError not_found = 4;
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
// Private voice chat updates
|
|
372
|
-
|
|
373
|
-
enum PrivateVoiceChatStatus {
|
|
374
|
-
VOICE_CHAT_REQUESTED = 0;
|
|
375
|
-
VOICE_CHAT_ACCEPTED = 1;
|
|
376
|
-
VOICE_CHAT_REJECTED = 2;
|
|
377
|
-
VOICE_CHAT_ENDED = 3;
|
|
378
|
-
VOICE_CHAT_EXPIRED = 4;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
message PrivateVoiceChatCredentials {
|
|
382
|
-
string connection_url = 1;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
message PrivateVoiceChatUpdate {
|
|
386
|
-
string call_id = 1;
|
|
387
|
-
PrivateVoiceChatStatus status = 2;
|
|
388
|
-
optional User caller = 3;
|
|
389
|
-
optional User callee = 4;
|
|
390
|
-
optional PrivateVoiceChatCredentials credentials = 5;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
// Ending a private voice chat
|
|
394
|
-
// This is sent from the client to the server whenever the user wants to end the voice chat
|
|
395
|
-
// This could occur before the voice chat is accepted or after it is accepted
|
|
396
|
-
|
|
397
|
-
message EndPrivateVoiceChatPayload {
|
|
398
|
-
string call_id = 1;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
message EndPrivateVoiceChatResponse {
|
|
402
|
-
message Ok {
|
|
403
|
-
string call_id = 1;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
oneof response {
|
|
407
|
-
Ok ok = 1;
|
|
408
|
-
InternalServerError internal_server_error = 2;
|
|
409
|
-
NotFoundError not_found = 3;
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
// Get incoming private voice chat request
|
|
414
|
-
|
|
415
|
-
message GetIncomingPrivateVoiceChatRequestResponse {
|
|
416
|
-
message Ok {
|
|
417
|
-
User caller = 1;
|
|
418
|
-
string call_id = 2;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
oneof response {
|
|
422
|
-
Ok ok = 1;
|
|
423
|
-
NotFoundError not_found = 2;
|
|
424
|
-
InternalServerError internal_server_error = 3;
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
|
|
429
137
|
service SocialService {
|
|
430
138
|
// Get the list of friends for the authenticated user
|
|
431
|
-
rpc GetFriends(GetFriendsPayload) returns (
|
|
139
|
+
rpc GetFriends(GetFriendsPayload) returns (PaginatedUsersResponse) {}
|
|
432
140
|
|
|
433
141
|
// Get the list of mutual friends between the authenticated user and the one in the parameter
|
|
434
|
-
rpc GetMutualFriends(GetMutualFriendsPayload) returns (
|
|
142
|
+
rpc GetMutualFriends(GetMutualFriendsPayload) returns (PaginatedUsersResponse) {}
|
|
435
143
|
|
|
436
144
|
// Get the pending friendship requests for the authenticated user
|
|
437
145
|
rpc GetPendingFriendshipRequests(GetFriendshipRequestsPayload) returns (PaginatedFriendshipRequestsResponse) {}
|
|
@@ -447,51 +155,5 @@ service SocialService {
|
|
|
447
155
|
rpc SubscribeToFriendshipUpdates(google.protobuf.Empty)
|
|
448
156
|
returns (stream FriendshipUpdate) {}
|
|
449
157
|
|
|
450
|
-
// Get the friendship status between the authenticated user and the one in the parameter
|
|
451
158
|
rpc GetFriendshipStatus(GetFriendshipStatusPayload) returns (GetFriendshipStatusResponse) {}
|
|
452
|
-
|
|
453
|
-
// Subscribe to connectivity updates of friends: ONLINE, OFFLINE, AWAY
|
|
454
|
-
rpc SubscribeToFriendConnectivityUpdates(google.protobuf.Empty)
|
|
455
|
-
returns (stream FriendConnectivityUpdate) {}
|
|
456
|
-
|
|
457
|
-
rpc BlockUser(BlockUserPayload) returns (BlockUserResponse) {}
|
|
458
|
-
|
|
459
|
-
rpc UnblockUser(UnblockUserPayload) returns (UnblockUserResponse) {}
|
|
460
|
-
|
|
461
|
-
rpc GetBlockedUsers(GetBlockedUsersPayload) returns (GetBlockedUsersResponse) {}
|
|
462
|
-
|
|
463
|
-
rpc GetBlockingStatus(google.protobuf.Empty) returns (GetBlockingStatusResponse) {}
|
|
464
|
-
|
|
465
|
-
rpc SubscribeToBlockUpdates(google.protobuf.Empty) returns (stream BlockUpdate) {}
|
|
466
|
-
|
|
467
|
-
// Get all the social settings for the authenticated user
|
|
468
|
-
rpc GetSocialSettings(google.protobuf.Empty) returns (GetSocialSettingsResponse) {}
|
|
469
|
-
|
|
470
|
-
// Insert or update the social settings for the authenticated user
|
|
471
|
-
rpc UpsertSocialSettings(UpsertSocialSettingsPayload) returns (UpsertSocialSettingsResponse) {}
|
|
472
|
-
|
|
473
|
-
// Get the private messages privacy settings for the requested users
|
|
474
|
-
rpc GetPrivateMessagesSettings(GetPrivateMessagesSettingsPayload) returns (GetPrivateMessagesSettingsResponse) {}
|
|
475
|
-
|
|
476
|
-
// Subscribe to community member connectivity updates: ONLINE, OFFLINE
|
|
477
|
-
rpc SubscribeToCommunityMemberConnectivityUpdates(google.protobuf.Empty)
|
|
478
|
-
returns (stream CommunityMemberConnectivityUpdate) {}
|
|
479
|
-
|
|
480
|
-
// Start a private voice chat
|
|
481
|
-
rpc StartPrivateVoiceChat(StartPrivateVoiceChatPayload) returns (StartPrivateVoiceChatResponse) {}
|
|
482
|
-
|
|
483
|
-
// Accept a private voice chat
|
|
484
|
-
rpc AcceptPrivateVoiceChat(AcceptPrivateVoiceChatPayload) returns (AcceptPrivateVoiceChatResponse) {}
|
|
485
|
-
|
|
486
|
-
// Reject a private voice chat
|
|
487
|
-
rpc RejectPrivateVoiceChat(RejectPrivateVoiceChatPayload) returns (RejectPrivateVoiceChatResponse) {}
|
|
488
|
-
|
|
489
|
-
// End a private voice chat
|
|
490
|
-
rpc EndPrivateVoiceChat(EndPrivateVoiceChatPayload) returns (EndPrivateVoiceChatResponse) {}
|
|
491
|
-
|
|
492
|
-
// Get the incoming private voice chat request
|
|
493
|
-
rpc GetIncomingPrivateVoiceChatRequest(google.protobuf.Empty) returns (GetIncomingPrivateVoiceChatRequestResponse) {}
|
|
494
|
-
|
|
495
|
-
// Subscribe to private voice chat updates
|
|
496
|
-
rpc SubscribeToPrivateVoiceChatUpdates(google.protobuf.Empty) returns (stream PrivateVoiceChatUpdate) {}
|
|
497
159
|
}
|
|
@@ -15,6 +15,7 @@ import public "decentraland/sdk/components/camera_mode_area.proto";
|
|
|
15
15
|
import public "decentraland/sdk/components/camera_mode.proto";
|
|
16
16
|
import public "decentraland/sdk/components/engine_info.proto";
|
|
17
17
|
import public "decentraland/sdk/components/gltf_container.proto";
|
|
18
|
+
import public "decentraland/sdk/components/gltf_node_modifiers.proto";
|
|
18
19
|
import public "decentraland/sdk/components/gltf_container_loading_state.proto";
|
|
19
20
|
import public "decentraland/sdk/components/material.proto";
|
|
20
21
|
import public "decentraland/sdk/components/mesh_collider.proto";
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
package decentraland.sdk.components;
|
|
3
|
-
import "decentraland/sdk/components/common/id.proto";
|
|
4
|
-
import "decentraland/common/colors.proto";
|
|
5
|
-
import "decentraland/common/texture.proto";
|
|
6
|
-
option (common.ecs_component_id) = 1079;
|
|
7
|
-
|
|
8
|
-
message PBLightSource {
|
|
9
|
-
optional bool active = 4; // default = true, whether the lightSource is active or not.
|
|
10
|
-
optional decentraland.common.Color3 color = 1; // default = Color.white, the tint of the light, in RGB format where each component is a floating point value with a range from 0 to 1.
|
|
11
|
-
optional float brightness = 2; // default = 250, ranges from 1 (dim) to 100,000 (very bright), expressed in Lumens for Point and Spot.
|
|
12
|
-
optional float range = 3; // default = 10, how far the light travels, expressed in meters.
|
|
13
|
-
|
|
14
|
-
oneof type {
|
|
15
|
-
Point point = 6;
|
|
16
|
-
Spot spot = 7;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
message Point {
|
|
20
|
-
optional ShadowType shadow = 5; // default = ShadowType.ST_NONE The type of shadow the light source supports.
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
message Spot {
|
|
24
|
-
optional float inner_angle = 1; // 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.
|
|
25
|
-
optional float outer_angle = 2; // 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.
|
|
26
|
-
optional ShadowType shadow = 5; // default = ShadowType.ST_NONE The type of shadow the light source supports.
|
|
27
|
-
optional decentraland.common.TextureUnion shadow_mask_texture = 8; // Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window.
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
enum ShadowType {
|
|
31
|
-
ST_NONE = 0; // No shadows are cast from this LightSource.
|
|
32
|
-
ST_SOFT = 1; // More realistic type of shadow that reduces block artifacts, noise or pixelation, but requires more processing.
|
|
33
|
-
ST_HARD = 2; // Less realistic type of shadow but more performant, uses hard edges.
|
|
34
|
-
}
|
|
35
|
-
}
|