@dcl/protocol 1.0.0-22672716807.commit-22c32c9 → 1.0.0-23196288562.commit-d5b739b

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.
Files changed (25) hide show
  1. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +0 -58
  2. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +19 -393
  3. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
  4. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +0 -10
  5. package/out-js/decentraland/sdk/components/common/input_action.gen.js +1 -52
  6. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
  7. package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +1 -5
  8. package/out-js/decentraland/sdk/components/pointer_events.gen.js +3 -31
  9. package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -1
  10. package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +9 -0
  11. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +76 -7
  12. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -1
  13. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +3 -451
  14. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +0 -51
  15. package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +3 -44
  16. package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +75 -2
  17. package/package.json +3 -3
  18. package/proto/decentraland/kernel/comms/rfc4/comms.proto +1 -38
  19. package/proto/decentraland/sdk/components/common/input_action.proto +0 -8
  20. package/proto/decentraland/sdk/components/light_source.proto +1 -1
  21. package/proto/decentraland/sdk/components/pointer_events.proto +0 -2
  22. package/proto/decentraland/sdk/components/virtual_camera.proto +0 -2
  23. package/proto/decentraland/social_service/v2/social_service_v2.proto +7 -0
  24. package/proto/decentraland/sdk/components/audio_analysis.proto +0 -44
  25. package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +0 -21
@@ -17,7 +17,6 @@ export enum InputAction {
17
17
  IA_ACTION_4 = 11,
18
18
  IA_ACTION_5 = 12,
19
19
  IA_ACTION_6 = 13,
20
- IA_MODIFIER = 14,
21
20
  UNRECOGNIZED = -1,
22
21
  }
23
22
 
@@ -65,9 +64,6 @@ export function inputActionFromJSON(object: any): InputAction {
65
64
  case 13:
66
65
  case "IA_ACTION_6":
67
66
  return InputAction.IA_ACTION_6;
68
- case 14:
69
- case "IA_MODIFIER":
70
- return InputAction.IA_MODIFIER;
71
67
  case -1:
72
68
  case "UNRECOGNIZED":
73
69
  default:
@@ -105,8 +101,6 @@ export function inputActionToJSON(object: InputAction): string {
105
101
  return "IA_ACTION_5";
106
102
  case InputAction.IA_ACTION_6:
107
103
  return "IA_ACTION_6";
108
- case InputAction.IA_MODIFIER:
109
- return "IA_MODIFIER";
110
104
  case InputAction.UNRECOGNIZED:
111
105
  default:
112
106
  return "UNRECOGNIZED";
@@ -119,8 +113,6 @@ export enum PointerEventType {
119
113
  PET_DOWN = 1,
120
114
  PET_HOVER_ENTER = 2,
121
115
  PET_HOVER_LEAVE = 3,
122
- PET_PROXIMITY_ENTER = 4,
123
- PET_PROXIMITY_LEAVE = 5,
124
116
  UNRECOGNIZED = -1,
125
117
  }
126
118
 
@@ -138,12 +130,6 @@ export function pointerEventTypeFromJSON(object: any): PointerEventType {
138
130
  case 3:
139
131
  case "PET_HOVER_LEAVE":
140
132
  return PointerEventType.PET_HOVER_LEAVE;
141
- case 4:
142
- case "PET_PROXIMITY_ENTER":
143
- return PointerEventType.PET_PROXIMITY_ENTER;
144
- case 5:
145
- case "PET_PROXIMITY_LEAVE":
146
- return PointerEventType.PET_PROXIMITY_LEAVE;
147
133
  case -1:
148
134
  case "UNRECOGNIZED":
149
135
  default:
@@ -161,45 +147,8 @@ export function pointerEventTypeToJSON(object: PointerEventType): string {
161
147
  return "PET_HOVER_ENTER";
162
148
  case PointerEventType.PET_HOVER_LEAVE:
163
149
  return "PET_HOVER_LEAVE";
164
- case PointerEventType.PET_PROXIMITY_ENTER:
165
- return "PET_PROXIMITY_ENTER";
166
- case PointerEventType.PET_PROXIMITY_LEAVE:
167
- return "PET_PROXIMITY_LEAVE";
168
150
  case PointerEventType.UNRECOGNIZED:
169
151
  default:
170
152
  return "UNRECOGNIZED";
171
153
  }
172
154
  }
173
-
174
- export enum InteractionType {
175
- CURSOR = 0,
176
- PROXIMITY = 1,
177
- UNRECOGNIZED = -1,
178
- }
179
-
180
- export function interactionTypeFromJSON(object: any): InteractionType {
181
- switch (object) {
182
- case 0:
183
- case "CURSOR":
184
- return InteractionType.CURSOR;
185
- case 1:
186
- case "PROXIMITY":
187
- return InteractionType.PROXIMITY;
188
- case -1:
189
- case "UNRECOGNIZED":
190
- default:
191
- return InteractionType.UNRECOGNIZED;
192
- }
193
- }
194
-
195
- export function interactionTypeToJSON(object: InteractionType): string {
196
- switch (object) {
197
- case InteractionType.CURSOR:
198
- return "CURSOR";
199
- case InteractionType.PROXIMITY:
200
- return "PROXIMITY";
201
- case InteractionType.UNRECOGNIZED:
202
- default:
203
- return "UNRECOGNIZED";
204
- }
205
- }
@@ -4,9 +4,6 @@ import {
4
4
  InputAction,
5
5
  inputActionFromJSON,
6
6
  inputActionToJSON,
7
- InteractionType,
8
- interactionTypeFromJSON,
9
- interactionTypeToJSON,
10
7
  PointerEventType,
11
8
  pointerEventTypeFromJSON,
12
9
  pointerEventTypeToJSON,
@@ -79,22 +76,14 @@ export interface PBPointerEvents_Info {
79
76
  | boolean
80
77
  | undefined;
81
78
  /** range of interaction from the avatar's position (default 0) */
82
- maxPlayerDistance?:
83
- | number
84
- | undefined;
85
- /** resolution order when multiple events overlap, higher wins (default 0) */
86
- priority?: number | undefined;
79
+ maxPlayerDistance?: number | undefined;
87
80
  }
88
81
 
89
82
  export interface PBPointerEvents_Entry {
90
83
  /** the kind of interaction to detect */
91
84
  eventType: PointerEventType;
92
85
  /** additional configuration for this detection */
93
- eventInfo:
94
- | PBPointerEvents_Info
95
- | undefined;
96
- /** the type of interaction source (default 0 == CURSOR) */
97
- interactionType?: InteractionType | undefined;
86
+ eventInfo: PBPointerEvents_Info | undefined;
98
87
  }
99
88
 
100
89
  function createBasePBPointerEvents(): PBPointerEvents {
@@ -169,7 +158,6 @@ function createBasePBPointerEvents_Info(): PBPointerEvents_Info {
169
158
  showFeedback: undefined,
170
159
  showHighlight: undefined,
171
160
  maxPlayerDistance: undefined,
172
- priority: undefined,
173
161
  };
174
162
  }
175
163
 
@@ -193,9 +181,6 @@ export namespace PBPointerEvents_Info {
193
181
  if (message.maxPlayerDistance !== undefined) {
194
182
  writer.uint32(53).float(message.maxPlayerDistance);
195
183
  }
196
- if (message.priority !== undefined) {
197
- writer.uint32(56).uint32(message.priority);
198
- }
199
184
  return writer;
200
185
  }
201
186
 
@@ -248,13 +233,6 @@ export namespace PBPointerEvents_Info {
248
233
 
249
234
  message.maxPlayerDistance = reader.float();
250
235
  continue;
251
- case 7:
252
- if (tag !== 56) {
253
- break;
254
- }
255
-
256
- message.priority = reader.uint32();
257
- continue;
258
236
  }
259
237
  if ((tag & 7) === 4 || tag === 0) {
260
238
  break;
@@ -272,7 +250,6 @@ export namespace PBPointerEvents_Info {
272
250
  showFeedback: isSet(object.showFeedback) ? Boolean(object.showFeedback) : undefined,
273
251
  showHighlight: isSet(object.showHighlight) ? Boolean(object.showHighlight) : undefined,
274
252
  maxPlayerDistance: isSet(object.maxPlayerDistance) ? Number(object.maxPlayerDistance) : undefined,
275
- priority: isSet(object.priority) ? Number(object.priority) : undefined,
276
253
  };
277
254
  }
278
255
 
@@ -285,7 +262,6 @@ export namespace PBPointerEvents_Info {
285
262
  message.showFeedback !== undefined && (obj.showFeedback = message.showFeedback);
286
263
  message.showHighlight !== undefined && (obj.showHighlight = message.showHighlight);
287
264
  message.maxPlayerDistance !== undefined && (obj.maxPlayerDistance = message.maxPlayerDistance);
288
- message.priority !== undefined && (obj.priority = Math.round(message.priority));
289
265
  return obj;
290
266
  }
291
267
 
@@ -301,13 +277,12 @@ export namespace PBPointerEvents_Info {
301
277
  message.showFeedback = object.showFeedback ?? undefined;
302
278
  message.showHighlight = object.showHighlight ?? undefined;
303
279
  message.maxPlayerDistance = object.maxPlayerDistance ?? undefined;
304
- message.priority = object.priority ?? undefined;
305
280
  return message;
306
281
  }
307
282
  }
308
283
 
309
284
  function createBasePBPointerEvents_Entry(): PBPointerEvents_Entry {
310
- return { eventType: 0, eventInfo: undefined, interactionType: undefined };
285
+ return { eventType: 0, eventInfo: undefined };
311
286
  }
312
287
 
313
288
  export namespace PBPointerEvents_Entry {
@@ -318,9 +293,6 @@ export namespace PBPointerEvents_Entry {
318
293
  if (message.eventInfo !== undefined) {
319
294
  PBPointerEvents_Info.encode(message.eventInfo, writer.uint32(18).fork()).ldelim();
320
295
  }
321
- if (message.interactionType !== undefined) {
322
- writer.uint32(24).int32(message.interactionType);
323
- }
324
296
  return writer;
325
297
  }
326
298
 
@@ -345,13 +317,6 @@ export namespace PBPointerEvents_Entry {
345
317
 
346
318
  message.eventInfo = PBPointerEvents_Info.decode(reader, reader.uint32());
347
319
  continue;
348
- case 3:
349
- if (tag !== 24) {
350
- break;
351
- }
352
-
353
- message.interactionType = reader.int32() as any;
354
- continue;
355
320
  }
356
321
  if ((tag & 7) === 4 || tag === 0) {
357
322
  break;
@@ -365,7 +330,6 @@ export namespace PBPointerEvents_Entry {
365
330
  return {
366
331
  eventType: isSet(object.eventType) ? pointerEventTypeFromJSON(object.eventType) : 0,
367
332
  eventInfo: isSet(object.eventInfo) ? PBPointerEvents_Info.fromJSON(object.eventInfo) : undefined,
368
- interactionType: isSet(object.interactionType) ? interactionTypeFromJSON(object.interactionType) : undefined,
369
333
  };
370
334
  }
371
335
 
@@ -374,10 +338,6 @@ export namespace PBPointerEvents_Entry {
374
338
  message.eventType !== undefined && (obj.eventType = pointerEventTypeToJSON(message.eventType));
375
339
  message.eventInfo !== undefined &&
376
340
  (obj.eventInfo = message.eventInfo ? PBPointerEvents_Info.toJSON(message.eventInfo) : undefined);
377
- message.interactionType !== undefined &&
378
- (obj.interactionType = message.interactionType !== undefined
379
- ? interactionTypeToJSON(message.interactionType)
380
- : undefined);
381
341
  return obj;
382
342
  }
383
343
 
@@ -393,7 +353,6 @@ export namespace PBPointerEvents_Entry {
393
353
  message.eventInfo = (object.eventInfo !== undefined && object.eventInfo !== null)
394
354
  ? PBPointerEvents_Info.fromPartial(object.eventInfo)
395
355
  : undefined;
396
- message.interactionType = object.interactionType ?? undefined;
397
356
  return message;
398
357
  }
399
358
  }
@@ -195,6 +195,39 @@ export function blockedUsersMessagesVisibilitySettingToJSON(object: BlockedUsers
195
195
  }
196
196
  }
197
197
 
198
+ export enum SituationReactionsVisibility {
199
+ SHOW = 0,
200
+ HIDE = 1,
201
+ UNRECOGNIZED = -1,
202
+ }
203
+
204
+ export function situationReactionsVisibilityFromJSON(object: any): SituationReactionsVisibility {
205
+ switch (object) {
206
+ case 0:
207
+ case "SHOW":
208
+ return SituationReactionsVisibility.SHOW;
209
+ case 1:
210
+ case "HIDE":
211
+ return SituationReactionsVisibility.HIDE;
212
+ case -1:
213
+ case "UNRECOGNIZED":
214
+ default:
215
+ return SituationReactionsVisibility.UNRECOGNIZED;
216
+ }
217
+ }
218
+
219
+ export function situationReactionsVisibilityToJSON(object: SituationReactionsVisibility): string {
220
+ switch (object) {
221
+ case SituationReactionsVisibility.SHOW:
222
+ return "SHOW";
223
+ case SituationReactionsVisibility.HIDE:
224
+ return "HIDE";
225
+ case SituationReactionsVisibility.UNRECOGNIZED:
226
+ default:
227
+ return "UNRECOGNIZED";
228
+ }
229
+ }
230
+
198
231
  export enum PrivateVoiceChatStatus {
199
232
  VOICE_CHAT_REQUESTED = 0,
200
233
  VOICE_CHAT_ACCEPTED = 1,
@@ -492,6 +525,7 @@ export interface UnblockUserResponse_Ok {
492
525
  export interface SocialSettings {
493
526
  privateMessagesPrivacy: PrivateMessagePrivacySetting;
494
527
  blockedUsersMessagesVisibility: BlockedUsersMessagesVisibilitySetting;
528
+ showSituationReactions: SituationReactionsVisibility;
495
529
  }
496
530
 
497
531
  export interface GetSocialSettingsResponse {
@@ -508,6 +542,7 @@ export interface GetSocialSettingsResponse_Ok {
508
542
  export interface UpsertSocialSettingsPayload {
509
543
  privateMessagesPrivacy?: PrivateMessagePrivacySetting | undefined;
510
544
  blockedUsersMessagesVisibility?: BlockedUsersMessagesVisibilitySetting | undefined;
545
+ showSituationReactions?: SituationReactionsVisibility | undefined;
511
546
  }
512
547
 
513
548
  export interface UpsertSocialSettingsResponse {
@@ -4163,7 +4198,7 @@ export namespace UnblockUserResponse_Ok {
4163
4198
  }
4164
4199
 
4165
4200
  function createBaseSocialSettings(): SocialSettings {
4166
- return { privateMessagesPrivacy: 0, blockedUsersMessagesVisibility: 0 };
4201
+ return { privateMessagesPrivacy: 0, blockedUsersMessagesVisibility: 0, showSituationReactions: 0 };
4167
4202
  }
4168
4203
 
4169
4204
  export namespace SocialSettings {
@@ -4174,6 +4209,9 @@ export namespace SocialSettings {
4174
4209
  if (message.blockedUsersMessagesVisibility !== 0) {
4175
4210
  writer.uint32(16).int32(message.blockedUsersMessagesVisibility);
4176
4211
  }
4212
+ if (message.showSituationReactions !== 0) {
4213
+ writer.uint32(24).int32(message.showSituationReactions);
4214
+ }
4177
4215
  return writer;
4178
4216
  }
4179
4217
 
@@ -4198,6 +4236,13 @@ export namespace SocialSettings {
4198
4236
 
4199
4237
  message.blockedUsersMessagesVisibility = reader.int32() as any;
4200
4238
  continue;
4239
+ case 3:
4240
+ if (tag !== 24) {
4241
+ break;
4242
+ }
4243
+
4244
+ message.showSituationReactions = reader.int32() as any;
4245
+ continue;
4201
4246
  }
4202
4247
  if ((tag & 7) === 4 || tag === 0) {
4203
4248
  break;
@@ -4215,6 +4260,9 @@ export namespace SocialSettings {
4215
4260
  blockedUsersMessagesVisibility: isSet(object.blockedUsersMessagesVisibility)
4216
4261
  ? blockedUsersMessagesVisibilitySettingFromJSON(object.blockedUsersMessagesVisibility)
4217
4262
  : 0,
4263
+ showSituationReactions: isSet(object.showSituationReactions)
4264
+ ? situationReactionsVisibilityFromJSON(object.showSituationReactions)
4265
+ : 0,
4218
4266
  };
4219
4267
  }
4220
4268
 
@@ -4226,6 +4274,8 @@ export namespace SocialSettings {
4226
4274
  (obj.blockedUsersMessagesVisibility = blockedUsersMessagesVisibilitySettingToJSON(
4227
4275
  message.blockedUsersMessagesVisibility,
4228
4276
  ));
4277
+ message.showSituationReactions !== undefined &&
4278
+ (obj.showSituationReactions = situationReactionsVisibilityToJSON(message.showSituationReactions));
4229
4279
  return obj;
4230
4280
  }
4231
4281
 
@@ -4237,6 +4287,7 @@ export namespace SocialSettings {
4237
4287
  const message = createBaseSocialSettings();
4238
4288
  message.privateMessagesPrivacy = object.privateMessagesPrivacy ?? 0;
4239
4289
  message.blockedUsersMessagesVisibility = object.blockedUsersMessagesVisibility ?? 0;
4290
+ message.showSituationReactions = object.showSituationReactions ?? 0;
4240
4291
  return message;
4241
4292
  }
4242
4293
  }
@@ -4406,7 +4457,11 @@ export namespace GetSocialSettingsResponse_Ok {
4406
4457
  }
4407
4458
 
4408
4459
  function createBaseUpsertSocialSettingsPayload(): UpsertSocialSettingsPayload {
4409
- return { privateMessagesPrivacy: undefined, blockedUsersMessagesVisibility: undefined };
4460
+ return {
4461
+ privateMessagesPrivacy: undefined,
4462
+ blockedUsersMessagesVisibility: undefined,
4463
+ showSituationReactions: undefined,
4464
+ };
4410
4465
  }
4411
4466
 
4412
4467
  export namespace UpsertSocialSettingsPayload {
@@ -4417,6 +4472,9 @@ export namespace UpsertSocialSettingsPayload {
4417
4472
  if (message.blockedUsersMessagesVisibility !== undefined) {
4418
4473
  writer.uint32(16).int32(message.blockedUsersMessagesVisibility);
4419
4474
  }
4475
+ if (message.showSituationReactions !== undefined) {
4476
+ writer.uint32(24).int32(message.showSituationReactions);
4477
+ }
4420
4478
  return writer;
4421
4479
  }
4422
4480
 
@@ -4441,6 +4499,13 @@ export namespace UpsertSocialSettingsPayload {
4441
4499
 
4442
4500
  message.blockedUsersMessagesVisibility = reader.int32() as any;
4443
4501
  continue;
4502
+ case 3:
4503
+ if (tag !== 24) {
4504
+ break;
4505
+ }
4506
+
4507
+ message.showSituationReactions = reader.int32() as any;
4508
+ continue;
4444
4509
  }
4445
4510
  if ((tag & 7) === 4 || tag === 0) {
4446
4511
  break;
@@ -4458,6 +4523,9 @@ export namespace UpsertSocialSettingsPayload {
4458
4523
  blockedUsersMessagesVisibility: isSet(object.blockedUsersMessagesVisibility)
4459
4524
  ? blockedUsersMessagesVisibilitySettingFromJSON(object.blockedUsersMessagesVisibility)
4460
4525
  : undefined,
4526
+ showSituationReactions: isSet(object.showSituationReactions)
4527
+ ? situationReactionsVisibilityFromJSON(object.showSituationReactions)
4528
+ : undefined,
4461
4529
  };
4462
4530
  }
4463
4531
 
@@ -4471,6 +4539,10 @@ export namespace UpsertSocialSettingsPayload {
4471
4539
  (obj.blockedUsersMessagesVisibility = message.blockedUsersMessagesVisibility !== undefined
4472
4540
  ? blockedUsersMessagesVisibilitySettingToJSON(message.blockedUsersMessagesVisibility)
4473
4541
  : undefined);
4542
+ message.showSituationReactions !== undefined &&
4543
+ (obj.showSituationReactions = message.showSituationReactions !== undefined
4544
+ ? situationReactionsVisibilityToJSON(message.showSituationReactions)
4545
+ : undefined);
4474
4546
  return obj;
4475
4547
  }
4476
4548
 
@@ -4486,6 +4558,7 @@ export namespace UpsertSocialSettingsPayload {
4486
4558
  const message = createBaseUpsertSocialSettingsPayload();
4487
4559
  message.privateMessagesPrivacy = object.privateMessagesPrivacy ?? undefined;
4488
4560
  message.blockedUsersMessagesVisibility = object.blockedUsersMessagesVisibility ?? undefined;
4561
+ message.showSituationReactions = object.showSituationReactions ?? undefined;
4489
4562
  return message;
4490
4563
  }
4491
4564
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/protocol",
3
- "version": "1.0.0-22672716807.commit-22c32c9",
3
+ "version": "1.0.0-23196288562.commit-d5b739b",
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.11.0",
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": "22c32c9e22436ba016b833b3caf76cb15d10ab8a"
33
+ "commit": "d5b739b42866f79e4a552b697666f0793a42d308"
34
34
  }
@@ -18,7 +18,6 @@ message Packet {
18
18
  PlayerEmote player_emote = 9;
19
19
  SceneEmote scene_emote = 10;
20
20
  MovementCompressed movement_compressed = 12;
21
- LookAtPosition look_at_position = 13;
22
21
  }
23
22
  uint32 protocol_version = 11;
24
23
  }
@@ -52,58 +51,26 @@ message Movement {
52
51
  float movement_blend_value = 8;
53
52
  float slide_blend_value = 9;
54
53
  bool is_grounded = 10;
55
- bool is_jumping = 11; // deprecated
56
- int32 jump_count = 24;
54
+ bool is_jumping = 11;
57
55
  bool is_long_jump = 12;
58
56
  bool is_long_fall = 13;
59
57
  bool is_falling = 14;
60
58
  bool is_stunned = 15;
61
- GlideState glide_state = 23;
62
59
  float rotation_y = 16;
63
60
  // interpolation
64
61
  bool is_instant = 17;
65
62
  bool is_emoting = 18;
66
- // head-sync (enabled flags + world-space yaw and pitch angles, in degrees)
67
- bool head_ik_yaw_enabled = 19;
68
- bool head_ik_pitch_enabled = 20;
69
- float head_yaw = 21;
70
- float head_pitch = 22;
71
- enum GlideState {
72
- PROP_CLOSED = 0;
73
- OPENING_PROP = 1;
74
- GLIDING = 2;
75
- CLOSING_PROP = 3;
76
- }
77
63
  }
78
64
 
79
65
  message MovementCompressed {
80
66
  int32 temporal_data = 1; // bit-compressed: timestamp + animations
81
67
  int64 movement_data = 2; // bit-compressed: position + velocity
82
- int32 head_sync_data = 3; // bit-compressed: enabled flags + yaw + pitch
83
68
  }
84
69
 
85
70
  message PlayerEmote {
86
71
  uint32 incremental_id = 1;
87
72
  string urn = 2;
88
73
  float timestamp = 3;
89
- optional bool is_stopping = 4; // true means the emote has been stopped in the sender's client
90
- optional bool is_repeating = 5; // true when it is not the first time the looping animation plays
91
- optional int32 interaction_id = 6; // identifies an interaction univocaly, established when the start animation is triggered
92
- optional int32 social_emote_outcome = 7; // -1 means it does not use an outcome animation
93
- optional bool is_reacting = 8; // to a social emote started by other user
94
- optional string social_emote_initiator = 9; // wallet address of the user that initiated social emote
95
- optional string target_avatar = 10; // wallet address of the user whose avatar is the target of a directed emote
96
- }
97
-
98
- // Message sent to force an avatar to look at a position
99
- message LookAtPosition
100
- {
101
- float timestamp = 1;
102
- // world position
103
- float position_x = 2;
104
- float position_y = 3;
105
- float position_z = 4;
106
- string target_avatar_wallet_address = 5;
107
74
  }
108
75
 
109
76
  message SceneEmote {
@@ -136,10 +103,6 @@ message ProfileResponse {
136
103
  message Chat {
137
104
  string message = 1;
138
105
  double timestamp = 2;
139
-
140
- // Extension: optional forwarded_from to identify the original sender when
141
- // messages are forwarded through an SFU
142
- optional string forwarded_from = 3;
143
106
  }
144
107
 
145
108
  message Scene {
@@ -17,7 +17,6 @@ enum InputAction {
17
17
  IA_ACTION_4 = 11;
18
18
  IA_ACTION_5 = 12;
19
19
  IA_ACTION_6 = 13;
20
- IA_MODIFIER = 14;
21
20
  }
22
21
 
23
22
  // PointerEventType is a kind of interaction that can be detected.
@@ -26,11 +25,4 @@ enum PointerEventType {
26
25
  PET_DOWN = 1;
27
26
  PET_HOVER_ENTER = 2;
28
27
  PET_HOVER_LEAVE = 3;
29
- PET_PROXIMITY_ENTER = 4;
30
- PET_PROXIMITY_LEAVE = 5;
31
- }
32
-
33
- enum InteractionType {
34
- CURSOR = 0;
35
- PROXIMITY = 1;
36
28
  }
@@ -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
+ }
@@ -51,13 +51,11 @@ message PBPointerEvents {
51
51
  optional bool show_feedback = 4; // enable or disable hover text and highlight (default true)
52
52
  optional bool show_highlight = 5; // enable or disable hover highlight (default true)
53
53
  optional float max_player_distance = 6; // range of interaction from the avatar's position (default 0)
54
- optional uint32 priority = 7; // resolution order when multiple events overlap, higher wins (default 0)
55
54
  }
56
55
 
57
56
  message Entry {
58
57
  common.PointerEventType event_type = 1; // the kind of interaction to detect
59
58
  Info event_info = 2; // additional configuration for this detection
60
- optional common.InteractionType interaction_type = 3; // the type of interaction source (default 0 == CURSOR)
61
59
  }
62
60
 
63
61
  repeated Entry pointer_events = 1; // the list of relevant events to detect
@@ -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
  }
@@ -212,9 +212,15 @@ enum BlockedUsersMessagesVisibilitySetting {
212
212
  DO_NOT_SHOW_MESSAGES = 1;
213
213
  }
214
214
 
215
+ enum SituationReactionsVisibility {
216
+ SHOW = 0;
217
+ HIDE = 1;
218
+ }
219
+
215
220
  message SocialSettings {
216
221
  PrivateMessagePrivacySetting private_messages_privacy = 1;
217
222
  BlockedUsersMessagesVisibilitySetting blocked_users_messages_visibility = 2;
223
+ SituationReactionsVisibility show_situation_reactions = 3;
218
224
  }
219
225
 
220
226
  message GetSocialSettingsResponse {
@@ -231,6 +237,7 @@ message GetSocialSettingsResponse {
231
237
  message UpsertSocialSettingsPayload {
232
238
  optional PrivateMessagePrivacySetting private_messages_privacy = 1;
233
239
  optional BlockedUsersMessagesVisibilitySetting blocked_users_messages_visibility = 2;
240
+ optional SituationReactionsVisibility show_situation_reactions = 3;
234
241
  }
235
242
 
236
243
  message UpsertSocialSettingsResponse {
@@ -1,44 +0,0 @@
1
- syntax = "proto3";
2
- package decentraland.sdk.components;
3
-
4
- import "decentraland/sdk/components/common/id.proto";
5
- option (common.ecs_component_id) = 1212;
6
-
7
- enum PBAudioAnalysisMode {
8
- MODE_RAW = 0;
9
- MODE_LOGARITHMIC = 1;
10
- }
11
-
12
- message PBAudioAnalysis {
13
-
14
- // Parameters section
15
- PBAudioAnalysisMode mode = 1;
16
-
17
- // Used only when mode == MODE_LOGARITHMIC
18
- optional float amplitude_gain = 100;
19
- optional float bands_gain = 101;
20
- // End when mode == MODE_LOGARITHMIC
21
-
22
- // End Parameters section
23
-
24
- // Result section
25
- float amplitude = 200;
26
-
27
- // Protobuf doesn't support fixed arrays -> 8 band fields
28
- float band_0 = 201;
29
- float band_1 = 202;
30
- float band_2 = 203;
31
- float band_3 = 204;
32
- float band_4 = 205;
33
- float band_5 = 206;
34
- float band_6 = 207;
35
- float band_7 = 208;
36
-
37
- // End Result section
38
-
39
- // Future fields
40
- // float spectral_centroid = 13;
41
- // float spectral_flux = 14;
42
- // bool onset = 15;
43
- // float bpm = 16;
44
- }
@@ -1,21 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package decentraland.sdk.components;
4
-
5
- import "decentraland/sdk/components/common/id.proto";
6
-
7
- option (common.ecs_component_id) = 1211;
8
-
9
- // The PBAvatarLocomotionSettings component allows scenes to modify locomotion settings defining things such
10
- // as the avatar movement speed, jump height etc.
11
- message PBAvatarLocomotionSettings {
12
- optional float walk_speed = 1; // Maximum speed when walking (in meters per second)
13
- optional float jog_speed = 2; // Maximum speed when jogging (in meters per second)
14
- optional float run_speed = 3; // Maximum speed when running (in meters per second)
15
- optional float jump_height = 4; // Height of a regular jump (in meters)
16
- optional float run_jump_height = 5; // Height of a jump while running (in meters)
17
- optional float hard_landing_cooldown = 6; // Cooldown time after a hard landing before the avatar can move again (in seconds)
18
- optional float double_jump_height = 7; // Height of the double jump (in meters)
19
- optional float gliding_speed = 8; // Maximum speed when gliding (in meters per second)
20
- optional float gliding_falling_speed = 9; // Maximum falling speed when gliding (in meters per second)
21
- }