@dcl/protocol 1.0.0-16829025986.commit-d35499a → 1.0.0-16915195041.commit-e9319d0

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 (108) hide show
  1. package/out-js/decentraland/common/texture.gen.d.ts +0 -18
  2. package/out-js/decentraland/common/texture.gen.js +4 -104
  3. package/out-js/decentraland/common/texture.gen.js.map +1 -1
  4. package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +0 -50
  5. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1 -175
  6. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
  7. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +9 -0
  8. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +55 -5
  9. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
  10. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +0 -2
  11. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +2 -19
  12. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -1
  13. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +0 -41
  14. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +3 -241
  15. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
  16. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +2 -2
  17. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +8 -13
  18. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
  19. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +1 -35
  20. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +3 -172
  21. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
  22. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +0 -3
  23. package/out-js/decentraland/sdk/components/common/input_action.gen.js +0 -18
  24. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
  25. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +0 -19
  26. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +3 -90
  27. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
  28. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.d.ts +57 -0
  29. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js +164 -0
  30. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js.map +1 -0
  31. package/out-js/decentraland/sdk/components/material.gen.d.ts +0 -20
  32. package/out-js/decentraland/sdk/components/material.gen.js +2 -86
  33. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
  34. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +0 -18
  35. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +4 -90
  36. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
  37. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +3 -19
  38. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +4 -90
  39. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
  40. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +0 -4
  41. package/out-js/decentraland/sdk/components/ui_text.gen.js +1 -30
  42. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
  43. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +0 -33
  44. package/out-js/decentraland/sdk/components/ui_transform.gen.js +3 -176
  45. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
  46. package/out-js/decentraland/social_service/errors.gen.d.ts +96 -0
  47. package/out-js/decentraland/social_service/errors.gen.js +405 -0
  48. package/out-js/decentraland/social_service/errors.gen.js.map +1 -0
  49. package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +1305 -32
  50. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +6779 -210
  51. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -1
  52. package/out-ts/decentraland/common/texture.gen.ts +4 -119
  53. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +0 -187
  54. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +65 -2
  55. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +1 -20
  56. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +1 -292
  57. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +10 -14
  58. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +2 -218
  59. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +0 -18
  60. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +2 -108
  61. package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
  62. package/out-ts/decentraland/sdk/components/material.gen.ts +1 -102
  63. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +0 -99
  64. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +3 -100
  65. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +1 -40
  66. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +0 -193
  67. package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
  68. package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +8578 -1018
  69. package/package.json +4 -7
  70. package/proto/decentraland/common/texture.proto +1 -8
  71. package/proto/decentraland/kernel/apis/restricted_actions.proto +0 -16
  72. package/proto/decentraland/kernel/comms/rfc4/comms.proto +8 -2
  73. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +1 -2
  74. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +0 -21
  75. package/proto/decentraland/sdk/components/avatar_shape.proto +2 -1
  76. package/proto/decentraland/sdk/components/camera_mode_area.proto +3 -22
  77. package/proto/decentraland/sdk/components/common/input_action.proto +0 -3
  78. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +0 -13
  79. package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
  80. package/proto/decentraland/sdk/components/light_source.proto +1 -1
  81. package/proto/decentraland/sdk/components/material.proto +1 -13
  82. package/proto/decentraland/sdk/components/mesh_collider.proto +1 -8
  83. package/proto/decentraland/sdk/components/mesh_renderer.proto +3 -8
  84. package/proto/decentraland/sdk/components/primary_pointer_info.proto +0 -5
  85. package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
  86. package/proto/decentraland/sdk/components/ui_text.proto +0 -3
  87. package/proto/decentraland/sdk/components/ui_transform.proto +0 -20
  88. package/proto/decentraland/sdk/components/virtual_camera.proto +2 -0
  89. package/proto/decentraland/social_service/errors.proto +30 -0
  90. package/proto/decentraland/social_service/v2/social_service_v2.proto +538 -11
  91. package/proto/decentraland/social_service/v3/social_service_v3.proto +51 -0
  92. package/public/sdk-components.proto +1 -2
  93. package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +0 -66
  94. package/out-js/decentraland/sdk/components/gltf_node.gen.js +0 -69
  95. package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +0 -1
  96. package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +0 -43
  97. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +0 -122
  98. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +0 -1
  99. package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +0 -116
  100. package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +0 -139
  101. package/proto/decentraland/sdk/components/camera_layer.proto +0 -30
  102. package/proto/decentraland/sdk/components/camera_layers.proto +0 -11
  103. package/proto/decentraland/sdk/components/global_light.proto +0 -22
  104. package/proto/decentraland/sdk/components/gltf_node.proto +0 -42
  105. package/proto/decentraland/sdk/components/gltf_node_state.proto +0 -20
  106. package/proto/decentraland/sdk/components/texture_camera.proto +0 -46
  107. package/proto/decentraland/sdk/components/ui_canvas.proto +0 -16
  108. package/proto/decentraland/sdk/components/ui_scroll_result.proto +0 -12
@@ -120,23 +120,11 @@ export interface VideoTexture {
120
120
  filterMode?: TextureFilterMode | undefined;
121
121
  }
122
122
 
123
- export interface UiCanvasTexture {
124
- uiCanvasEntity: number;
125
- /** default = TextureWrapMode.Clamp */
126
- wrapMode?:
127
- | TextureWrapMode
128
- | undefined;
129
- /** default = FilterMode.Bilinear */
130
- filterMode?: TextureFilterMode | undefined;
131
- }
132
-
133
123
  export interface TextureUnion {
134
- tex?:
135
- | { $case: "texture"; texture: Texture }
136
- | { $case: "avatarTexture"; avatarTexture: AvatarTexture }
137
- | { $case: "videoTexture"; videoTexture: VideoTexture }
138
- | { $case: "uiTexture"; uiTexture: UiCanvasTexture }
139
- | undefined;
124
+ tex?: { $case: "texture"; texture: Texture } | { $case: "avatarTexture"; avatarTexture: AvatarTexture } | {
125
+ $case: "videoTexture";
126
+ videoTexture: VideoTexture;
127
+ } | undefined;
140
128
  }
141
129
 
142
130
  function createBaseTexture(): Texture {
@@ -427,92 +415,6 @@ export namespace VideoTexture {
427
415
  }
428
416
  }
429
417
 
430
- function createBaseUiCanvasTexture(): UiCanvasTexture {
431
- return { uiCanvasEntity: 0, wrapMode: undefined, filterMode: undefined };
432
- }
433
-
434
- export namespace UiCanvasTexture {
435
- export function encode(message: UiCanvasTexture, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
436
- if (message.uiCanvasEntity !== 0) {
437
- writer.uint32(8).uint32(message.uiCanvasEntity);
438
- }
439
- if (message.wrapMode !== undefined) {
440
- writer.uint32(16).int32(message.wrapMode);
441
- }
442
- if (message.filterMode !== undefined) {
443
- writer.uint32(24).int32(message.filterMode);
444
- }
445
- return writer;
446
- }
447
-
448
- export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture {
449
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
450
- let end = length === undefined ? reader.len : reader.pos + length;
451
- const message = createBaseUiCanvasTexture();
452
- while (reader.pos < end) {
453
- const tag = reader.uint32();
454
- switch (tag >>> 3) {
455
- case 1:
456
- if (tag !== 8) {
457
- break;
458
- }
459
-
460
- message.uiCanvasEntity = reader.uint32();
461
- continue;
462
- case 2:
463
- if (tag !== 16) {
464
- break;
465
- }
466
-
467
- message.wrapMode = reader.int32() as any;
468
- continue;
469
- case 3:
470
- if (tag !== 24) {
471
- break;
472
- }
473
-
474
- message.filterMode = reader.int32() as any;
475
- continue;
476
- }
477
- if ((tag & 7) === 4 || tag === 0) {
478
- break;
479
- }
480
- reader.skipType(tag & 7);
481
- }
482
- return message;
483
- }
484
-
485
- export function fromJSON(object: any): UiCanvasTexture {
486
- return {
487
- uiCanvasEntity: isSet(object.uiCanvasEntity) ? Number(object.uiCanvasEntity) : 0,
488
- wrapMode: isSet(object.wrapMode) ? textureWrapModeFromJSON(object.wrapMode) : undefined,
489
- filterMode: isSet(object.filterMode) ? textureFilterModeFromJSON(object.filterMode) : undefined,
490
- };
491
- }
492
-
493
- export function toJSON(message: UiCanvasTexture): unknown {
494
- const obj: any = {};
495
- message.uiCanvasEntity !== undefined && (obj.uiCanvasEntity = Math.round(message.uiCanvasEntity));
496
- message.wrapMode !== undefined &&
497
- (obj.wrapMode = message.wrapMode !== undefined ? textureWrapModeToJSON(message.wrapMode) : undefined);
498
- message.filterMode !== undefined &&
499
- (obj.filterMode = message.filterMode !== undefined ? textureFilterModeToJSON(message.filterMode) : undefined);
500
- return obj;
501
- }
502
-
503
- export function create<I extends Exact<DeepPartial<UiCanvasTexture>, I>>(base?: I): UiCanvasTexture {
504
- return UiCanvasTexture.fromPartial(base ?? {});
505
- }
506
-
507
- export function fromPartial<I extends Exact<DeepPartial<UiCanvasTexture>, I>>(object: I): UiCanvasTexture {
508
- const message = createBaseUiCanvasTexture();
509
- message.uiCanvasEntity = object.uiCanvasEntity ?? 0;
510
- message.wrapMode = object.wrapMode ?? undefined;
511
- message.filterMode = object.filterMode ?? undefined;
512
- return message;
513
- }
514
- }
515
-
516
418
  function createBaseTextureUnion(): TextureUnion {
517
419
  return { tex: undefined };
518
420
  }
@@ -529,9 +431,6 @@ export namespace TextureUnion {
529
431
  case "videoTexture":
530
432
  VideoTexture.encode(message.tex.videoTexture, writer.uint32(26).fork()).ldelim();
531
433
  break;
532
- case "uiTexture":
533
- UiCanvasTexture.encode(message.tex.uiTexture, writer.uint32(34).fork()).ldelim();
534
- break;
535
434
  }
536
435
  return writer;
537
436
  }
@@ -564,13 +463,6 @@ export namespace TextureUnion {
564
463
 
565
464
  message.tex = { $case: "videoTexture", videoTexture: VideoTexture.decode(reader, reader.uint32()) };
566
465
  continue;
567
- case 4:
568
- if (tag !== 34) {
569
- break;
570
- }
571
-
572
- message.tex = { $case: "uiTexture", uiTexture: UiCanvasTexture.decode(reader, reader.uint32()) };
573
- continue;
574
466
  }
575
467
  if ((tag & 7) === 4 || tag === 0) {
576
468
  break;
@@ -588,8 +480,6 @@ export namespace TextureUnion {
588
480
  ? { $case: "avatarTexture", avatarTexture: AvatarTexture.fromJSON(object.avatarTexture) }
589
481
  : isSet(object.videoTexture)
590
482
  ? { $case: "videoTexture", videoTexture: VideoTexture.fromJSON(object.videoTexture) }
591
- : isSet(object.uiTexture)
592
- ? { $case: "uiTexture", uiTexture: UiCanvasTexture.fromJSON(object.uiTexture) }
593
483
  : undefined,
594
484
  };
595
485
  }
@@ -602,8 +492,6 @@ export namespace TextureUnion {
602
492
  (obj.avatarTexture = message.tex?.avatarTexture ? AvatarTexture.toJSON(message.tex?.avatarTexture) : undefined);
603
493
  message.tex?.$case === "videoTexture" &&
604
494
  (obj.videoTexture = message.tex?.videoTexture ? VideoTexture.toJSON(message.tex?.videoTexture) : undefined);
605
- message.tex?.$case === "uiTexture" &&
606
- (obj.uiTexture = message.tex?.uiTexture ? UiCanvasTexture.toJSON(message.tex?.uiTexture) : undefined);
607
495
  return obj;
608
496
  }
609
497
 
@@ -630,9 +518,6 @@ export namespace TextureUnion {
630
518
  ) {
631
519
  message.tex = { $case: "videoTexture", videoTexture: VideoTexture.fromPartial(object.tex.videoTexture) };
632
520
  }
633
- if (object.tex?.$case === "uiTexture" && object.tex?.uiTexture !== undefined && object.tex?.uiTexture !== null) {
634
- message.tex = { $case: "uiTexture", uiTexture: UiCanvasTexture.fromPartial(object.tex.uiTexture) };
635
- }
636
521
  return message;
637
522
  }
638
523
  }
@@ -56,17 +56,6 @@ export interface MovePlayerToResponse {
56
56
  export interface TeleportToResponse {
57
57
  }
58
58
 
59
- export interface SetUiFocusRequest {
60
- elementId: string;
61
- }
62
-
63
- export interface CopyToClipboardRequest {
64
- text: string;
65
- }
66
-
67
- export interface EmptyResponse {
68
- }
69
-
70
59
  function createBaseMovePlayerToRequest(): MovePlayerToRequest {
71
60
  return { newRelativePosition: undefined, cameraTarget: undefined, avatarTarget: undefined };
72
61
  }
@@ -823,164 +812,6 @@ export namespace TeleportToResponse {
823
812
  }
824
813
  }
825
814
 
826
- function createBaseSetUiFocusRequest(): SetUiFocusRequest {
827
- return { elementId: "" };
828
- }
829
-
830
- export namespace SetUiFocusRequest {
831
- export function encode(message: SetUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
832
- if (message.elementId !== "") {
833
- writer.uint32(10).string(message.elementId);
834
- }
835
- return writer;
836
- }
837
-
838
- export function decode(input: _m0.Reader | Uint8Array, length?: number): SetUiFocusRequest {
839
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
840
- let end = length === undefined ? reader.len : reader.pos + length;
841
- const message = createBaseSetUiFocusRequest();
842
- while (reader.pos < end) {
843
- const tag = reader.uint32();
844
- switch (tag >>> 3) {
845
- case 1:
846
- if (tag !== 10) {
847
- break;
848
- }
849
-
850
- message.elementId = reader.string();
851
- continue;
852
- }
853
- if ((tag & 7) === 4 || tag === 0) {
854
- break;
855
- }
856
- reader.skipType(tag & 7);
857
- }
858
- return message;
859
- }
860
-
861
- export function fromJSON(object: any): SetUiFocusRequest {
862
- return { elementId: isSet(object.elementId) ? String(object.elementId) : "" };
863
- }
864
-
865
- export function toJSON(message: SetUiFocusRequest): unknown {
866
- const obj: any = {};
867
- message.elementId !== undefined && (obj.elementId = message.elementId);
868
- return obj;
869
- }
870
-
871
- export function create<I extends Exact<DeepPartial<SetUiFocusRequest>, I>>(base?: I): SetUiFocusRequest {
872
- return SetUiFocusRequest.fromPartial(base ?? {});
873
- }
874
-
875
- export function fromPartial<I extends Exact<DeepPartial<SetUiFocusRequest>, I>>(object: I): SetUiFocusRequest {
876
- const message = createBaseSetUiFocusRequest();
877
- message.elementId = object.elementId ?? "";
878
- return message;
879
- }
880
- }
881
-
882
- function createBaseCopyToClipboardRequest(): CopyToClipboardRequest {
883
- return { text: "" };
884
- }
885
-
886
- export namespace CopyToClipboardRequest {
887
- export function encode(message: CopyToClipboardRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
888
- if (message.text !== "") {
889
- writer.uint32(10).string(message.text);
890
- }
891
- return writer;
892
- }
893
-
894
- export function decode(input: _m0.Reader | Uint8Array, length?: number): CopyToClipboardRequest {
895
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
896
- let end = length === undefined ? reader.len : reader.pos + length;
897
- const message = createBaseCopyToClipboardRequest();
898
- while (reader.pos < end) {
899
- const tag = reader.uint32();
900
- switch (tag >>> 3) {
901
- case 1:
902
- if (tag !== 10) {
903
- break;
904
- }
905
-
906
- message.text = reader.string();
907
- continue;
908
- }
909
- if ((tag & 7) === 4 || tag === 0) {
910
- break;
911
- }
912
- reader.skipType(tag & 7);
913
- }
914
- return message;
915
- }
916
-
917
- export function fromJSON(object: any): CopyToClipboardRequest {
918
- return { text: isSet(object.text) ? String(object.text) : "" };
919
- }
920
-
921
- export function toJSON(message: CopyToClipboardRequest): unknown {
922
- const obj: any = {};
923
- message.text !== undefined && (obj.text = message.text);
924
- return obj;
925
- }
926
-
927
- export function create<I extends Exact<DeepPartial<CopyToClipboardRequest>, I>>(base?: I): CopyToClipboardRequest {
928
- return CopyToClipboardRequest.fromPartial(base ?? {});
929
- }
930
-
931
- export function fromPartial<I extends Exact<DeepPartial<CopyToClipboardRequest>, I>>(
932
- object: I,
933
- ): CopyToClipboardRequest {
934
- const message = createBaseCopyToClipboardRequest();
935
- message.text = object.text ?? "";
936
- return message;
937
- }
938
- }
939
-
940
- function createBaseEmptyResponse(): EmptyResponse {
941
- return {};
942
- }
943
-
944
- export namespace EmptyResponse {
945
- export function encode(_: EmptyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
946
- return writer;
947
- }
948
-
949
- export function decode(input: _m0.Reader | Uint8Array, length?: number): EmptyResponse {
950
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
951
- let end = length === undefined ? reader.len : reader.pos + length;
952
- const message = createBaseEmptyResponse();
953
- while (reader.pos < end) {
954
- const tag = reader.uint32();
955
- switch (tag >>> 3) {
956
- }
957
- if ((tag & 7) === 4 || tag === 0) {
958
- break;
959
- }
960
- reader.skipType(tag & 7);
961
- }
962
- return message;
963
- }
964
-
965
- export function fromJSON(_: any): EmptyResponse {
966
- return {};
967
- }
968
-
969
- export function toJSON(_: EmptyResponse): unknown {
970
- const obj: any = {};
971
- return obj;
972
- }
973
-
974
- export function create<I extends Exact<DeepPartial<EmptyResponse>, I>>(base?: I): EmptyResponse {
975
- return EmptyResponse.fromPartial(base ?? {});
976
- }
977
-
978
- export function fromPartial<I extends Exact<DeepPartial<EmptyResponse>, I>>(_: I): EmptyResponse {
979
- const message = createBaseEmptyResponse();
980
- return message;
981
- }
982
- }
983
-
984
815
  export type RestrictedActionsServiceDefinition = typeof RestrictedActionsServiceDefinition;
985
816
  export const RestrictedActionsServiceDefinition = {
986
817
  name: "RestrictedActionsService",
@@ -1061,24 +892,6 @@ export const RestrictedActionsServiceDefinition = {
1061
892
  responseStream: false,
1062
893
  options: {},
1063
894
  },
1064
- /** Sets the focus to a specific UI element */
1065
- setUiFocus: {
1066
- name: "SetUiFocus",
1067
- requestType: SetUiFocusRequest,
1068
- requestStream: false,
1069
- responseType: SuccessResponse,
1070
- responseStream: false,
1071
- options: {},
1072
- },
1073
- /** Copies the specified text to the user's clipboard */
1074
- copyToClipboard: {
1075
- name: "CopyToClipboard",
1076
- requestType: CopyToClipboardRequest,
1077
- requestStream: false,
1078
- responseType: EmptyResponse,
1079
- responseStream: false,
1080
- options: {},
1081
- },
1082
895
  },
1083
896
  } as const;
1084
897
 
@@ -56,6 +56,9 @@ export interface Movement {
56
56
  isFalling: boolean;
57
57
  isStunned: boolean;
58
58
  rotationY: number;
59
+ /** interpolation */
60
+ isInstant: boolean;
61
+ isEmoting: boolean;
59
62
  }
60
63
 
61
64
  export interface MovementCompressed {
@@ -68,6 +71,7 @@ export interface MovementCompressed {
68
71
  export interface PlayerEmote {
69
72
  incrementalId: number;
70
73
  urn: string;
74
+ timestamp: number;
71
75
  }
72
76
 
73
77
  export interface SceneEmote {
@@ -92,6 +96,11 @@ export interface ProfileResponse {
92
96
  export interface Chat {
93
97
  message: string;
94
98
  timestamp: number;
99
+ /**
100
+ * Extension: optional forwarded_from to identify the original sender when
101
+ * messages are forwarded through an SFU
102
+ */
103
+ forwardedFrom?: string | undefined;
95
104
  }
96
105
 
97
106
  export interface Scene {
@@ -608,6 +617,8 @@ function createBaseMovement(): Movement {
608
617
  isFalling: false,
609
618
  isStunned: false,
610
619
  rotationY: 0,
620
+ isInstant: false,
621
+ isEmoting: false,
611
622
  };
612
623
  }
613
624
 
@@ -661,6 +672,12 @@ export namespace Movement {
661
672
  if (message.rotationY !== 0) {
662
673
  writer.uint32(133).float(message.rotationY);
663
674
  }
675
+ if (message.isInstant === true) {
676
+ writer.uint32(136).bool(message.isInstant);
677
+ }
678
+ if (message.isEmoting === true) {
679
+ writer.uint32(144).bool(message.isEmoting);
680
+ }
664
681
  return writer;
665
682
  }
666
683
 
@@ -783,6 +800,20 @@ export namespace Movement {
783
800
 
784
801
  message.rotationY = reader.float();
785
802
  continue;
803
+ case 17:
804
+ if (tag !== 136) {
805
+ break;
806
+ }
807
+
808
+ message.isInstant = reader.bool();
809
+ continue;
810
+ case 18:
811
+ if (tag !== 144) {
812
+ break;
813
+ }
814
+
815
+ message.isEmoting = reader.bool();
816
+ continue;
786
817
  }
787
818
  if ((tag & 7) === 4 || tag === 0) {
788
819
  break;
@@ -810,6 +841,8 @@ export namespace Movement {
810
841
  isFalling: isSet(object.isFalling) ? Boolean(object.isFalling) : false,
811
842
  isStunned: isSet(object.isStunned) ? Boolean(object.isStunned) : false,
812
843
  rotationY: isSet(object.rotationY) ? Number(object.rotationY) : 0,
844
+ isInstant: isSet(object.isInstant) ? Boolean(object.isInstant) : false,
845
+ isEmoting: isSet(object.isEmoting) ? Boolean(object.isEmoting) : false,
813
846
  };
814
847
  }
815
848
 
@@ -831,6 +864,8 @@ export namespace Movement {
831
864
  message.isFalling !== undefined && (obj.isFalling = message.isFalling);
832
865
  message.isStunned !== undefined && (obj.isStunned = message.isStunned);
833
866
  message.rotationY !== undefined && (obj.rotationY = message.rotationY);
867
+ message.isInstant !== undefined && (obj.isInstant = message.isInstant);
868
+ message.isEmoting !== undefined && (obj.isEmoting = message.isEmoting);
834
869
  return obj;
835
870
  }
836
871
 
@@ -856,6 +891,8 @@ export namespace Movement {
856
891
  message.isFalling = object.isFalling ?? false;
857
892
  message.isStunned = object.isStunned ?? false;
858
893
  message.rotationY = object.rotationY ?? 0;
894
+ message.isInstant = object.isInstant ?? false;
895
+ message.isEmoting = object.isEmoting ?? false;
859
896
  return message;
860
897
  }
861
898
  }
@@ -932,7 +969,7 @@ export namespace MovementCompressed {
932
969
  }
933
970
 
934
971
  function createBasePlayerEmote(): PlayerEmote {
935
- return { incrementalId: 0, urn: "" };
972
+ return { incrementalId: 0, urn: "", timestamp: 0 };
936
973
  }
937
974
 
938
975
  export namespace PlayerEmote {
@@ -943,6 +980,9 @@ export namespace PlayerEmote {
943
980
  if (message.urn !== "") {
944
981
  writer.uint32(18).string(message.urn);
945
982
  }
983
+ if (message.timestamp !== 0) {
984
+ writer.uint32(29).float(message.timestamp);
985
+ }
946
986
  return writer;
947
987
  }
948
988
 
@@ -967,6 +1007,13 @@ export namespace PlayerEmote {
967
1007
 
968
1008
  message.urn = reader.string();
969
1009
  continue;
1010
+ case 3:
1011
+ if (tag !== 29) {
1012
+ break;
1013
+ }
1014
+
1015
+ message.timestamp = reader.float();
1016
+ continue;
970
1017
  }
971
1018
  if ((tag & 7) === 4 || tag === 0) {
972
1019
  break;
@@ -980,6 +1027,7 @@ export namespace PlayerEmote {
980
1027
  return {
981
1028
  incrementalId: isSet(object.incrementalId) ? Number(object.incrementalId) : 0,
982
1029
  urn: isSet(object.urn) ? String(object.urn) : "",
1030
+ timestamp: isSet(object.timestamp) ? Number(object.timestamp) : 0,
983
1031
  };
984
1032
  }
985
1033
 
@@ -987,6 +1035,7 @@ export namespace PlayerEmote {
987
1035
  const obj: any = {};
988
1036
  message.incrementalId !== undefined && (obj.incrementalId = Math.round(message.incrementalId));
989
1037
  message.urn !== undefined && (obj.urn = message.urn);
1038
+ message.timestamp !== undefined && (obj.timestamp = message.timestamp);
990
1039
  return obj;
991
1040
  }
992
1041
 
@@ -998,6 +1047,7 @@ export namespace PlayerEmote {
998
1047
  const message = createBasePlayerEmote();
999
1048
  message.incrementalId = object.incrementalId ?? 0;
1000
1049
  message.urn = object.urn ?? "";
1050
+ message.timestamp = object.timestamp ?? 0;
1001
1051
  return message;
1002
1052
  }
1003
1053
  }
@@ -1274,7 +1324,7 @@ export namespace ProfileResponse {
1274
1324
  }
1275
1325
 
1276
1326
  function createBaseChat(): Chat {
1277
- return { message: "", timestamp: 0 };
1327
+ return { message: "", timestamp: 0, forwardedFrom: undefined };
1278
1328
  }
1279
1329
 
1280
1330
  export namespace Chat {
@@ -1285,6 +1335,9 @@ export namespace Chat {
1285
1335
  if (message.timestamp !== 0) {
1286
1336
  writer.uint32(17).double(message.timestamp);
1287
1337
  }
1338
+ if (message.forwardedFrom !== undefined) {
1339
+ writer.uint32(26).string(message.forwardedFrom);
1340
+ }
1288
1341
  return writer;
1289
1342
  }
1290
1343
 
@@ -1309,6 +1362,13 @@ export namespace Chat {
1309
1362
 
1310
1363
  message.timestamp = reader.double();
1311
1364
  continue;
1365
+ case 3:
1366
+ if (tag !== 26) {
1367
+ break;
1368
+ }
1369
+
1370
+ message.forwardedFrom = reader.string();
1371
+ continue;
1312
1372
  }
1313
1373
  if ((tag & 7) === 4 || tag === 0) {
1314
1374
  break;
@@ -1322,6 +1382,7 @@ export namespace Chat {
1322
1382
  return {
1323
1383
  message: isSet(object.message) ? String(object.message) : "",
1324
1384
  timestamp: isSet(object.timestamp) ? Number(object.timestamp) : 0,
1385
+ forwardedFrom: isSet(object.forwardedFrom) ? String(object.forwardedFrom) : undefined,
1325
1386
  };
1326
1387
  }
1327
1388
 
@@ -1329,6 +1390,7 @@ export namespace Chat {
1329
1390
  const obj: any = {};
1330
1391
  message.message !== undefined && (obj.message = message.message);
1331
1392
  message.timestamp !== undefined && (obj.timestamp = message.timestamp);
1393
+ message.forwardedFrom !== undefined && (obj.forwardedFrom = message.forwardedFrom);
1332
1394
  return obj;
1333
1395
  }
1334
1396
 
@@ -1340,6 +1402,7 @@ export namespace Chat {
1340
1402
  const message = createBaseChat();
1341
1403
  message.message = object.message ?? "";
1342
1404
  message.timestamp = object.timestamp ?? 0;
1405
+ message.forwardedFrom = object.forwardedFrom ?? undefined;
1343
1406
  return message;
1344
1407
  }
1345
1408
  }
@@ -11,12 +11,10 @@ export const protobufPackage = "decentraland.sdk.components";
11
11
  export interface PBAvatarEquippedData {
12
12
  wearableUrns: string[];
13
13
  emoteUrns: string[];
14
- /** slots that will render even if hidden */
15
- forceRender: string[];
16
14
  }
17
15
 
18
16
  function createBasePBAvatarEquippedData(): PBAvatarEquippedData {
19
- return { wearableUrns: [], emoteUrns: [], forceRender: [] };
17
+ return { wearableUrns: [], emoteUrns: [] };
20
18
  }
21
19
 
22
20
  export namespace PBAvatarEquippedData {
@@ -27,9 +25,6 @@ export namespace PBAvatarEquippedData {
27
25
  for (const v of message.emoteUrns) {
28
26
  writer.uint32(18).string(v!);
29
27
  }
30
- for (const v of message.forceRender) {
31
- writer.uint32(26).string(v!);
32
- }
33
28
  return writer;
34
29
  }
35
30
 
@@ -54,13 +49,6 @@ export namespace PBAvatarEquippedData {
54
49
 
55
50
  message.emoteUrns.push(reader.string());
56
51
  continue;
57
- case 3:
58
- if (tag !== 26) {
59
- break;
60
- }
61
-
62
- message.forceRender.push(reader.string());
63
- continue;
64
52
  }
65
53
  if ((tag & 7) === 4 || tag === 0) {
66
54
  break;
@@ -74,7 +62,6 @@ export namespace PBAvatarEquippedData {
74
62
  return {
75
63
  wearableUrns: Array.isArray(object?.wearableUrns) ? object.wearableUrns.map((e: any) => String(e)) : [],
76
64
  emoteUrns: Array.isArray(object?.emoteUrns) ? object.emoteUrns.map((e: any) => String(e)) : [],
77
- forceRender: Array.isArray(object?.forceRender) ? object.forceRender.map((e: any) => String(e)) : [],
78
65
  };
79
66
  }
80
67
 
@@ -90,11 +77,6 @@ export namespace PBAvatarEquippedData {
90
77
  } else {
91
78
  obj.emoteUrns = [];
92
79
  }
93
- if (message.forceRender) {
94
- obj.forceRender = message.forceRender.map((e) => e);
95
- } else {
96
- obj.forceRender = [];
97
- }
98
80
  return obj;
99
81
  }
100
82
 
@@ -106,7 +88,6 @@ export namespace PBAvatarEquippedData {
106
88
  const message = createBasePBAvatarEquippedData();
107
89
  message.wearableUrns = object.wearableUrns?.map((e) => e) || [];
108
90
  message.emoteUrns = object.emoteUrns?.map((e) => e) || [];
109
- message.forceRender = object.forceRender?.map((e) => e) || [];
110
91
  return message;
111
92
  }
112
93
  }