@dcl/protocol 1.0.0-22617630747.commit-f85988b → 1.0.0-22669986637.commit-fb11819

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/sdk/components/tween.gen.d.ts +0 -17
  11. package/out-js/decentraland/sdk/components/tween.gen.js +6 -138
  12. package/out-js/decentraland/sdk/components/tween.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/sdk/components/tween.gen.ts +0 -150
  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/tween.proto +0 -8
  23. package/proto/decentraland/sdk/components/virtual_camera.proto +0 -2
  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
  }
@@ -263,7 +263,6 @@ export interface PBTween {
263
263
  | { $case: "moveContinuous"; moveContinuous: MoveContinuous }
264
264
  | { $case: "textureMoveContinuous"; textureMoveContinuous: TextureMoveContinuous }
265
265
  | { $case: "moveRotateScale"; moveRotateScale: MoveRotateScale }
266
- | { $case: "moveRotateScaleContinuous"; moveRotateScaleContinuous: MoveRotateScaleContinuous }
267
266
  | undefined;
268
267
  /** default true (pause or running) */
269
268
  playing?:
@@ -321,13 +320,6 @@ export interface MoveContinuous {
321
320
  speed: number;
322
321
  }
323
322
 
324
- export interface MoveRotateScaleContinuous {
325
- positionDirection: Vector3 | undefined;
326
- rotationDirection: Quaternion | undefined;
327
- scaleDirection: Vector3 | undefined;
328
- speed: number;
329
- }
330
-
331
323
  export interface TextureMoveContinuous {
332
324
  direction: Vector2 | undefined;
333
325
  speed: number;
@@ -372,9 +364,6 @@ export namespace PBTween {
372
364
  case "moveRotateScale":
373
365
  MoveRotateScale.encode(message.mode.moveRotateScale, writer.uint32(98).fork()).ldelim();
374
366
  break;
375
- case "moveRotateScaleContinuous":
376
- MoveRotateScaleContinuous.encode(message.mode.moveRotateScaleContinuous, writer.uint32(106).fork()).ldelim();
377
- break;
378
367
  }
379
368
  if (message.playing !== undefined) {
380
369
  writer.uint32(48).bool(message.playing);
@@ -468,16 +457,6 @@ export namespace PBTween {
468
457
 
469
458
  message.mode = { $case: "moveRotateScale", moveRotateScale: MoveRotateScale.decode(reader, reader.uint32()) };
470
459
  continue;
471
- case 13:
472
- if (tag !== 106) {
473
- break;
474
- }
475
-
476
- message.mode = {
477
- $case: "moveRotateScaleContinuous",
478
- moveRotateScaleContinuous: MoveRotateScaleContinuous.decode(reader, reader.uint32()),
479
- };
480
- continue;
481
460
  case 6:
482
461
  if (tag !== 48) {
483
462
  break;
@@ -524,11 +503,6 @@ export namespace PBTween {
524
503
  }
525
504
  : isSet(object.moveRotateScale)
526
505
  ? { $case: "moveRotateScale", moveRotateScale: MoveRotateScale.fromJSON(object.moveRotateScale) }
527
- : isSet(object.moveRotateScaleContinuous)
528
- ? {
529
- $case: "moveRotateScaleContinuous",
530
- moveRotateScaleContinuous: MoveRotateScaleContinuous.fromJSON(object.moveRotateScaleContinuous),
531
- }
532
506
  : undefined,
533
507
  playing: isSet(object.playing) ? Boolean(object.playing) : undefined,
534
508
  currentTime: isSet(object.currentTime) ? Number(object.currentTime) : undefined,
@@ -562,10 +536,6 @@ export namespace PBTween {
562
536
  (obj.moveRotateScale = message.mode?.moveRotateScale
563
537
  ? MoveRotateScale.toJSON(message.mode?.moveRotateScale)
564
538
  : undefined);
565
- message.mode?.$case === "moveRotateScaleContinuous" &&
566
- (obj.moveRotateScaleContinuous = message.mode?.moveRotateScaleContinuous
567
- ? MoveRotateScaleContinuous.toJSON(message.mode?.moveRotateScaleContinuous)
568
- : undefined);
569
539
  message.playing !== undefined && (obj.playing = message.playing);
570
540
  message.currentTime !== undefined && (obj.currentTime = message.currentTime);
571
541
  return obj;
@@ -635,16 +605,6 @@ export namespace PBTween {
635
605
  moveRotateScale: MoveRotateScale.fromPartial(object.mode.moveRotateScale),
636
606
  };
637
607
  }
638
- if (
639
- object.mode?.$case === "moveRotateScaleContinuous" &&
640
- object.mode?.moveRotateScaleContinuous !== undefined &&
641
- object.mode?.moveRotateScaleContinuous !== null
642
- ) {
643
- message.mode = {
644
- $case: "moveRotateScaleContinuous",
645
- moveRotateScaleContinuous: MoveRotateScaleContinuous.fromPartial(object.mode.moveRotateScaleContinuous),
646
- };
647
- }
648
608
  message.playing = object.playing ?? undefined;
649
609
  message.currentTime = object.currentTime ?? undefined;
650
610
  return message;
@@ -1267,116 +1227,6 @@ export namespace MoveContinuous {
1267
1227
  }
1268
1228
  }
1269
1229
 
1270
- function createBaseMoveRotateScaleContinuous(): MoveRotateScaleContinuous {
1271
- return { positionDirection: undefined, rotationDirection: undefined, scaleDirection: undefined, speed: 0 };
1272
- }
1273
-
1274
- export namespace MoveRotateScaleContinuous {
1275
- export function encode(message: MoveRotateScaleContinuous, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1276
- if (message.positionDirection !== undefined) {
1277
- Vector3.encode(message.positionDirection, writer.uint32(10).fork()).ldelim();
1278
- }
1279
- if (message.rotationDirection !== undefined) {
1280
- Quaternion.encode(message.rotationDirection, writer.uint32(18).fork()).ldelim();
1281
- }
1282
- if (message.scaleDirection !== undefined) {
1283
- Vector3.encode(message.scaleDirection, writer.uint32(26).fork()).ldelim();
1284
- }
1285
- if (message.speed !== 0) {
1286
- writer.uint32(37).float(message.speed);
1287
- }
1288
- return writer;
1289
- }
1290
-
1291
- export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveRotateScaleContinuous {
1292
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1293
- let end = length === undefined ? reader.len : reader.pos + length;
1294
- const message = createBaseMoveRotateScaleContinuous();
1295
- while (reader.pos < end) {
1296
- const tag = reader.uint32();
1297
- switch (tag >>> 3) {
1298
- case 1:
1299
- if (tag !== 10) {
1300
- break;
1301
- }
1302
-
1303
- message.positionDirection = Vector3.decode(reader, reader.uint32());
1304
- continue;
1305
- case 2:
1306
- if (tag !== 18) {
1307
- break;
1308
- }
1309
-
1310
- message.rotationDirection = Quaternion.decode(reader, reader.uint32());
1311
- continue;
1312
- case 3:
1313
- if (tag !== 26) {
1314
- break;
1315
- }
1316
-
1317
- message.scaleDirection = Vector3.decode(reader, reader.uint32());
1318
- continue;
1319
- case 4:
1320
- if (tag !== 37) {
1321
- break;
1322
- }
1323
-
1324
- message.speed = reader.float();
1325
- continue;
1326
- }
1327
- if ((tag & 7) === 4 || tag === 0) {
1328
- break;
1329
- }
1330
- reader.skipType(tag & 7);
1331
- }
1332
- return message;
1333
- }
1334
-
1335
- export function fromJSON(object: any): MoveRotateScaleContinuous {
1336
- return {
1337
- positionDirection: isSet(object.positionDirection) ? Vector3.fromJSON(object.positionDirection) : undefined,
1338
- rotationDirection: isSet(object.rotationDirection) ? Quaternion.fromJSON(object.rotationDirection) : undefined,
1339
- scaleDirection: isSet(object.scaleDirection) ? Vector3.fromJSON(object.scaleDirection) : undefined,
1340
- speed: isSet(object.speed) ? Number(object.speed) : 0,
1341
- };
1342
- }
1343
-
1344
- export function toJSON(message: MoveRotateScaleContinuous): unknown {
1345
- const obj: any = {};
1346
- message.positionDirection !== undefined &&
1347
- (obj.positionDirection = message.positionDirection ? Vector3.toJSON(message.positionDirection) : undefined);
1348
- message.rotationDirection !== undefined &&
1349
- (obj.rotationDirection = message.rotationDirection ? Quaternion.toJSON(message.rotationDirection) : undefined);
1350
- message.scaleDirection !== undefined &&
1351
- (obj.scaleDirection = message.scaleDirection ? Vector3.toJSON(message.scaleDirection) : undefined);
1352
- message.speed !== undefined && (obj.speed = message.speed);
1353
- return obj;
1354
- }
1355
-
1356
- export function create<I extends Exact<DeepPartial<MoveRotateScaleContinuous>, I>>(
1357
- base?: I,
1358
- ): MoveRotateScaleContinuous {
1359
- return MoveRotateScaleContinuous.fromPartial(base ?? {});
1360
- }
1361
-
1362
- export function fromPartial<I extends Exact<DeepPartial<MoveRotateScaleContinuous>, I>>(
1363
- object: I,
1364
- ): MoveRotateScaleContinuous {
1365
- const message = createBaseMoveRotateScaleContinuous();
1366
- message.positionDirection = (object.positionDirection !== undefined && object.positionDirection !== null)
1367
- ? Vector3.fromPartial(object.positionDirection)
1368
- : undefined;
1369
- message.rotationDirection = (object.rotationDirection !== undefined && object.rotationDirection !== null)
1370
- ? Quaternion.fromPartial(object.rotationDirection)
1371
- : undefined;
1372
- message.scaleDirection = (object.scaleDirection !== undefined && object.scaleDirection !== null)
1373
- ? Vector3.fromPartial(object.scaleDirection)
1374
- : undefined;
1375
- message.speed = object.speed ?? 0;
1376
- return message;
1377
- }
1378
- }
1379
-
1380
1230
  function createBaseTextureMoveContinuous(): TextureMoveContinuous {
1381
1231
  return { direction: undefined, speed: 0, movementType: undefined };
1382
1232
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/protocol",
3
- "version": "1.0.0-22617630747.commit-f85988b",
3
+ "version": "1.0.0-22669986637.commit-fb11819",
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": "f85988b0179ed65a90aa4d20bf7a739c6f3a341b"
33
+ "commit": "fb11819906bfc84eeb5d434d190731e2a9049c3f"
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
@@ -20,7 +20,6 @@ message PBTween {
20
20
  MoveContinuous move_continuous = 10;
21
21
  TextureMoveContinuous texture_move_continuous = 11;
22
22
  MoveRotateScale move_rotate_scale = 12;
23
- MoveRotateScaleContinuous move_rotate_scale_continuous = 13;
24
23
  }
25
24
 
26
25
  optional bool playing = 6; // default true (pause or running)
@@ -70,13 +69,6 @@ message MoveContinuous {
70
69
  float speed = 2;
71
70
  }
72
71
 
73
- message MoveRotateScaleContinuous {
74
- decentraland.common.Vector3 position_direction = 1;
75
- decentraland.common.Quaternion rotation_direction = 2;
76
- decentraland.common.Vector3 scale_direction = 3;
77
- float speed = 4;
78
- }
79
-
80
72
  message TextureMoveContinuous {
81
73
  decentraland.common.Vector2 direction = 1;
82
74
  float speed = 2;
@@ -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
  }
@@ -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
- }