@dcl/protocol 1.0.0-25007946712.commit-f0cdbab → 1.0.0-25334828851.commit-af74b1d

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 (114) 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 -109
  5. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1 -383
  6. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
  7. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +0 -2
  8. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +2 -19
  9. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -1
  10. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +0 -41
  11. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +3 -241
  12. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
  13. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +0 -2
  14. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +1 -19
  15. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
  16. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +1 -35
  17. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +3 -172
  18. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
  19. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +1 -3
  20. package/out-js/decentraland/sdk/components/common/input_action.gen.js +1 -18
  21. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
  22. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +0 -19
  23. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +3 -90
  24. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
  25. package/out-js/decentraland/sdk/components/material.gen.d.ts +0 -20
  26. package/out-js/decentraland/sdk/components/material.gen.js +2 -86
  27. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
  28. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +0 -18
  29. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +4 -90
  30. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
  31. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +3 -19
  32. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +4 -90
  33. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
  34. package/out-js/decentraland/sdk/components/raycast.gen.d.ts +0 -13
  35. package/out-js/decentraland/sdk/components/raycast.gen.js +2 -64
  36. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
  37. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +0 -2
  38. package/out-js/decentraland/sdk/components/ui_input.gen.js +1 -14
  39. package/out-js/decentraland/sdk/components/ui_input.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-ts/decentraland/common/texture.gen.ts +4 -119
  47. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +0 -410
  48. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +1 -20
  49. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +1 -292
  50. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +1 -23
  51. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +2 -218
  52. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +1 -18
  53. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +2 -108
  54. package/out-ts/decentraland/sdk/components/material.gen.ts +1 -102
  55. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +0 -99
  56. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +3 -100
  57. package/out-ts/decentraland/sdk/components/raycast.gen.ts +1 -73
  58. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +1 -19
  59. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +1 -40
  60. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +0 -193
  61. package/package.json +3 -6
  62. package/proto/decentraland/common/texture.proto +1 -8
  63. package/proto/decentraland/kernel/apis/restricted_actions.proto +1 -39
  64. package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
  65. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +1 -2
  66. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +0 -21
  67. package/proto/decentraland/sdk/components/avatar_shape.proto +0 -1
  68. package/proto/decentraland/sdk/components/camera_mode_area.proto +3 -22
  69. package/proto/decentraland/sdk/components/common/input_action.proto +1 -3
  70. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +0 -13
  71. package/proto/decentraland/sdk/components/material.proto +1 -13
  72. package/proto/decentraland/sdk/components/mesh_collider.proto +0 -7
  73. package/proto/decentraland/sdk/components/mesh_renderer.proto +3 -8
  74. package/proto/decentraland/sdk/components/primary_pointer_info.proto +0 -5
  75. package/proto/decentraland/sdk/components/raycast.proto +0 -13
  76. package/proto/decentraland/sdk/components/ui_input.proto +0 -1
  77. package/proto/decentraland/sdk/components/ui_text.proto +0 -3
  78. package/proto/decentraland/sdk/components/ui_transform.proto +0 -20
  79. package/public/sdk-components.proto +0 -4
  80. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +0 -45
  81. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -138
  82. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +0 -1
  83. package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +0 -36
  84. package/out-js/decentraland/sdk/components/avatar_movement.gen.js +0 -113
  85. package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +0 -1
  86. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +0 -48
  87. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +0 -207
  88. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +0 -1
  89. package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +0 -66
  90. package/out-js/decentraland/sdk/components/gltf_node.gen.js +0 -69
  91. package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +0 -1
  92. package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +0 -43
  93. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +0 -122
  94. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +0 -1
  95. package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +0 -52
  96. package/out-js/decentraland/sdk/components/input_modifier.gen.js +0 -233
  97. package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +0 -1
  98. package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +0 -183
  99. package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +0 -136
  100. package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +0 -249
  101. package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +0 -116
  102. package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +0 -139
  103. package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +0 -265
  104. package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +0 -18
  105. package/proto/decentraland/sdk/components/avatar_movement.proto +0 -46
  106. package/proto/decentraland/sdk/components/avatar_movement_info.proto +0 -22
  107. package/proto/decentraland/sdk/components/camera_layer.proto +0 -30
  108. package/proto/decentraland/sdk/components/camera_layers.proto +0 -11
  109. package/proto/decentraland/sdk/components/global_light.proto +0 -22
  110. package/proto/decentraland/sdk/components/gltf_node.proto +0 -42
  111. package/proto/decentraland/sdk/components/gltf_node_state.proto +0 -20
  112. package/proto/decentraland/sdk/components/texture_camera.proto +0 -46
  113. package/proto/decentraland/sdk/components/ui_canvas.proto +0 -16
  114. 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
  }
@@ -58,35 +58,9 @@ export interface MovePlayerToResponse {
58
58
  success: boolean;
59
59
  }
60
60
 
61
- export interface WalkPlayerToRequest {
62
- newRelativePosition: Vector3 | undefined;
63
- stopThreshold: number;
64
- /** max seconds before the request is failed; not passed to the movement scene */
65
- timeout?: number | undefined;
66
- }
67
-
68
- export interface WalkPlayerToResponse {
69
- success: boolean;
70
- }
71
-
72
61
  export interface TeleportToResponse {
73
62
  }
74
63
 
75
- export interface SetUiFocusRequest {
76
- elementId: string;
77
- }
78
-
79
- export interface ClearUiFocusRequest {
80
- }
81
-
82
- export interface GetUiFocusRequest {
83
- }
84
-
85
- export interface UiFocusResponse {
86
- /** the element that is/was focussed */
87
- elementId?: string | undefined;
88
- }
89
-
90
64
  export interface CopyToClipboardRequest {
91
65
  text: string;
92
66
  }
@@ -831,149 +805,6 @@ export namespace MovePlayerToResponse {
831
805
  }
832
806
  }
833
807
 
834
- function createBaseWalkPlayerToRequest(): WalkPlayerToRequest {
835
- return { newRelativePosition: undefined, stopThreshold: 0, timeout: undefined };
836
- }
837
-
838
- export namespace WalkPlayerToRequest {
839
- export function encode(message: WalkPlayerToRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
840
- if (message.newRelativePosition !== undefined) {
841
- Vector3.encode(message.newRelativePosition, writer.uint32(10).fork()).ldelim();
842
- }
843
- if (message.stopThreshold !== 0) {
844
- writer.uint32(21).float(message.stopThreshold);
845
- }
846
- if (message.timeout !== undefined) {
847
- writer.uint32(29).float(message.timeout);
848
- }
849
- return writer;
850
- }
851
-
852
- export function decode(input: _m0.Reader | Uint8Array, length?: number): WalkPlayerToRequest {
853
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
854
- let end = length === undefined ? reader.len : reader.pos + length;
855
- const message = createBaseWalkPlayerToRequest();
856
- while (reader.pos < end) {
857
- const tag = reader.uint32();
858
- switch (tag >>> 3) {
859
- case 1:
860
- if (tag !== 10) {
861
- break;
862
- }
863
-
864
- message.newRelativePosition = Vector3.decode(reader, reader.uint32());
865
- continue;
866
- case 2:
867
- if (tag !== 21) {
868
- break;
869
- }
870
-
871
- message.stopThreshold = reader.float();
872
- continue;
873
- case 3:
874
- if (tag !== 29) {
875
- break;
876
- }
877
-
878
- message.timeout = reader.float();
879
- continue;
880
- }
881
- if ((tag & 7) === 4 || tag === 0) {
882
- break;
883
- }
884
- reader.skipType(tag & 7);
885
- }
886
- return message;
887
- }
888
-
889
- export function fromJSON(object: any): WalkPlayerToRequest {
890
- return {
891
- newRelativePosition: isSet(object.newRelativePosition) ? Vector3.fromJSON(object.newRelativePosition) : undefined,
892
- stopThreshold: isSet(object.stopThreshold) ? Number(object.stopThreshold) : 0,
893
- timeout: isSet(object.timeout) ? Number(object.timeout) : undefined,
894
- };
895
- }
896
-
897
- export function toJSON(message: WalkPlayerToRequest): unknown {
898
- const obj: any = {};
899
- message.newRelativePosition !== undefined &&
900
- (obj.newRelativePosition = message.newRelativePosition ? Vector3.toJSON(message.newRelativePosition) : undefined);
901
- message.stopThreshold !== undefined && (obj.stopThreshold = message.stopThreshold);
902
- message.timeout !== undefined && (obj.timeout = message.timeout);
903
- return obj;
904
- }
905
-
906
- export function create<I extends Exact<DeepPartial<WalkPlayerToRequest>, I>>(base?: I): WalkPlayerToRequest {
907
- return WalkPlayerToRequest.fromPartial(base ?? {});
908
- }
909
-
910
- export function fromPartial<I extends Exact<DeepPartial<WalkPlayerToRequest>, I>>(object: I): WalkPlayerToRequest {
911
- const message = createBaseWalkPlayerToRequest();
912
- message.newRelativePosition = (object.newRelativePosition !== undefined && object.newRelativePosition !== null)
913
- ? Vector3.fromPartial(object.newRelativePosition)
914
- : undefined;
915
- message.stopThreshold = object.stopThreshold ?? 0;
916
- message.timeout = object.timeout ?? undefined;
917
- return message;
918
- }
919
- }
920
-
921
- function createBaseWalkPlayerToResponse(): WalkPlayerToResponse {
922
- return { success: false };
923
- }
924
-
925
- export namespace WalkPlayerToResponse {
926
- export function encode(message: WalkPlayerToResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
927
- if (message.success === true) {
928
- writer.uint32(8).bool(message.success);
929
- }
930
- return writer;
931
- }
932
-
933
- export function decode(input: _m0.Reader | Uint8Array, length?: number): WalkPlayerToResponse {
934
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
935
- let end = length === undefined ? reader.len : reader.pos + length;
936
- const message = createBaseWalkPlayerToResponse();
937
- while (reader.pos < end) {
938
- const tag = reader.uint32();
939
- switch (tag >>> 3) {
940
- case 1:
941
- if (tag !== 8) {
942
- break;
943
- }
944
-
945
- message.success = reader.bool();
946
- continue;
947
- }
948
- if ((tag & 7) === 4 || tag === 0) {
949
- break;
950
- }
951
- reader.skipType(tag & 7);
952
- }
953
- return message;
954
- }
955
-
956
- export function fromJSON(object: any): WalkPlayerToResponse {
957
- return { success: isSet(object.success) ? Boolean(object.success) : false };
958
- }
959
-
960
- export function toJSON(message: WalkPlayerToResponse): unknown {
961
- const obj: any = {};
962
- message.success !== undefined && (obj.success = message.success);
963
- return obj;
964
- }
965
-
966
- export function create<I extends Exact<DeepPartial<WalkPlayerToResponse>, I>>(base?: I): WalkPlayerToResponse {
967
- return WalkPlayerToResponse.fromPartial(base ?? {});
968
- }
969
-
970
- export function fromPartial<I extends Exact<DeepPartial<WalkPlayerToResponse>, I>>(object: I): WalkPlayerToResponse {
971
- const message = createBaseWalkPlayerToResponse();
972
- message.success = object.success ?? false;
973
- return message;
974
- }
975
- }
976
-
977
808
  function createBaseTeleportToResponse(): TeleportToResponse {
978
809
  return {};
979
810
  }
@@ -1018,206 +849,6 @@ export namespace TeleportToResponse {
1018
849
  }
1019
850
  }
1020
851
 
1021
- function createBaseSetUiFocusRequest(): SetUiFocusRequest {
1022
- return { elementId: "" };
1023
- }
1024
-
1025
- export namespace SetUiFocusRequest {
1026
- export function encode(message: SetUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1027
- if (message.elementId !== "") {
1028
- writer.uint32(10).string(message.elementId);
1029
- }
1030
- return writer;
1031
- }
1032
-
1033
- export function decode(input: _m0.Reader | Uint8Array, length?: number): SetUiFocusRequest {
1034
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1035
- let end = length === undefined ? reader.len : reader.pos + length;
1036
- const message = createBaseSetUiFocusRequest();
1037
- while (reader.pos < end) {
1038
- const tag = reader.uint32();
1039
- switch (tag >>> 3) {
1040
- case 1:
1041
- if (tag !== 10) {
1042
- break;
1043
- }
1044
-
1045
- message.elementId = reader.string();
1046
- continue;
1047
- }
1048
- if ((tag & 7) === 4 || tag === 0) {
1049
- break;
1050
- }
1051
- reader.skipType(tag & 7);
1052
- }
1053
- return message;
1054
- }
1055
-
1056
- export function fromJSON(object: any): SetUiFocusRequest {
1057
- return { elementId: isSet(object.elementId) ? String(object.elementId) : "" };
1058
- }
1059
-
1060
- export function toJSON(message: SetUiFocusRequest): unknown {
1061
- const obj: any = {};
1062
- message.elementId !== undefined && (obj.elementId = message.elementId);
1063
- return obj;
1064
- }
1065
-
1066
- export function create<I extends Exact<DeepPartial<SetUiFocusRequest>, I>>(base?: I): SetUiFocusRequest {
1067
- return SetUiFocusRequest.fromPartial(base ?? {});
1068
- }
1069
-
1070
- export function fromPartial<I extends Exact<DeepPartial<SetUiFocusRequest>, I>>(object: I): SetUiFocusRequest {
1071
- const message = createBaseSetUiFocusRequest();
1072
- message.elementId = object.elementId ?? "";
1073
- return message;
1074
- }
1075
- }
1076
-
1077
- function createBaseClearUiFocusRequest(): ClearUiFocusRequest {
1078
- return {};
1079
- }
1080
-
1081
- export namespace ClearUiFocusRequest {
1082
- export function encode(_: ClearUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1083
- return writer;
1084
- }
1085
-
1086
- export function decode(input: _m0.Reader | Uint8Array, length?: number): ClearUiFocusRequest {
1087
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1088
- let end = length === undefined ? reader.len : reader.pos + length;
1089
- const message = createBaseClearUiFocusRequest();
1090
- while (reader.pos < end) {
1091
- const tag = reader.uint32();
1092
- switch (tag >>> 3) {
1093
- }
1094
- if ((tag & 7) === 4 || tag === 0) {
1095
- break;
1096
- }
1097
- reader.skipType(tag & 7);
1098
- }
1099
- return message;
1100
- }
1101
-
1102
- export function fromJSON(_: any): ClearUiFocusRequest {
1103
- return {};
1104
- }
1105
-
1106
- export function toJSON(_: ClearUiFocusRequest): unknown {
1107
- const obj: any = {};
1108
- return obj;
1109
- }
1110
-
1111
- export function create<I extends Exact<DeepPartial<ClearUiFocusRequest>, I>>(base?: I): ClearUiFocusRequest {
1112
- return ClearUiFocusRequest.fromPartial(base ?? {});
1113
- }
1114
-
1115
- export function fromPartial<I extends Exact<DeepPartial<ClearUiFocusRequest>, I>>(_: I): ClearUiFocusRequest {
1116
- const message = createBaseClearUiFocusRequest();
1117
- return message;
1118
- }
1119
- }
1120
-
1121
- function createBaseGetUiFocusRequest(): GetUiFocusRequest {
1122
- return {};
1123
- }
1124
-
1125
- export namespace GetUiFocusRequest {
1126
- export function encode(_: GetUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1127
- return writer;
1128
- }
1129
-
1130
- export function decode(input: _m0.Reader | Uint8Array, length?: number): GetUiFocusRequest {
1131
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1132
- let end = length === undefined ? reader.len : reader.pos + length;
1133
- const message = createBaseGetUiFocusRequest();
1134
- while (reader.pos < end) {
1135
- const tag = reader.uint32();
1136
- switch (tag >>> 3) {
1137
- }
1138
- if ((tag & 7) === 4 || tag === 0) {
1139
- break;
1140
- }
1141
- reader.skipType(tag & 7);
1142
- }
1143
- return message;
1144
- }
1145
-
1146
- export function fromJSON(_: any): GetUiFocusRequest {
1147
- return {};
1148
- }
1149
-
1150
- export function toJSON(_: GetUiFocusRequest): unknown {
1151
- const obj: any = {};
1152
- return obj;
1153
- }
1154
-
1155
- export function create<I extends Exact<DeepPartial<GetUiFocusRequest>, I>>(base?: I): GetUiFocusRequest {
1156
- return GetUiFocusRequest.fromPartial(base ?? {});
1157
- }
1158
-
1159
- export function fromPartial<I extends Exact<DeepPartial<GetUiFocusRequest>, I>>(_: I): GetUiFocusRequest {
1160
- const message = createBaseGetUiFocusRequest();
1161
- return message;
1162
- }
1163
- }
1164
-
1165
- function createBaseUiFocusResponse(): UiFocusResponse {
1166
- return { elementId: undefined };
1167
- }
1168
-
1169
- export namespace UiFocusResponse {
1170
- export function encode(message: UiFocusResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1171
- if (message.elementId !== undefined) {
1172
- writer.uint32(10).string(message.elementId);
1173
- }
1174
- return writer;
1175
- }
1176
-
1177
- export function decode(input: _m0.Reader | Uint8Array, length?: number): UiFocusResponse {
1178
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1179
- let end = length === undefined ? reader.len : reader.pos + length;
1180
- const message = createBaseUiFocusResponse();
1181
- while (reader.pos < end) {
1182
- const tag = reader.uint32();
1183
- switch (tag >>> 3) {
1184
- case 1:
1185
- if (tag !== 10) {
1186
- break;
1187
- }
1188
-
1189
- message.elementId = reader.string();
1190
- continue;
1191
- }
1192
- if ((tag & 7) === 4 || tag === 0) {
1193
- break;
1194
- }
1195
- reader.skipType(tag & 7);
1196
- }
1197
- return message;
1198
- }
1199
-
1200
- export function fromJSON(object: any): UiFocusResponse {
1201
- return { elementId: isSet(object.elementId) ? String(object.elementId) : undefined };
1202
- }
1203
-
1204
- export function toJSON(message: UiFocusResponse): unknown {
1205
- const obj: any = {};
1206
- message.elementId !== undefined && (obj.elementId = message.elementId);
1207
- return obj;
1208
- }
1209
-
1210
- export function create<I extends Exact<DeepPartial<UiFocusResponse>, I>>(base?: I): UiFocusResponse {
1211
- return UiFocusResponse.fromPartial(base ?? {});
1212
- }
1213
-
1214
- export function fromPartial<I extends Exact<DeepPartial<UiFocusResponse>, I>>(object: I): UiFocusResponse {
1215
- const message = createBaseUiFocusResponse();
1216
- message.elementId = object.elementId ?? undefined;
1217
- return message;
1218
- }
1219
- }
1220
-
1221
852
  function createBaseCopyToClipboardRequest(): CopyToClipboardRequest {
1222
853
  return { text: "" };
1223
854
  }
@@ -1338,20 +969,6 @@ export const RestrictedActionsServiceDefinition = {
1338
969
  responseStream: false,
1339
970
  options: {},
1340
971
  },
1341
- /**
1342
- * WalkPlayerTo will walk the player to a position relative to the current scene,
1343
- * managed by the movement controller scene. Returns success when the player reaches
1344
- * within stop_threshold distance, or false if the path is blocked, the player gets
1345
- * stuck, the player interrupts the walk with manual input, or the optional timeout expires.
1346
- */
1347
- walkPlayerTo: {
1348
- name: "WalkPlayerTo",
1349
- requestType: WalkPlayerToRequest,
1350
- requestStream: false,
1351
- responseType: WalkPlayerToResponse,
1352
- responseStream: false,
1353
- options: {},
1354
- },
1355
972
  /** TeleportTo will move the user to the specified world LAND parcel coordinates */
1356
973
  teleportTo: {
1357
974
  name: "TeleportTo",
@@ -1418,33 +1035,6 @@ export const RestrictedActionsServiceDefinition = {
1418
1035
  responseStream: false,
1419
1036
  options: {},
1420
1037
  },
1421
- /** Sets the focus to a specific UI element */
1422
- setUiFocus: {
1423
- name: "SetUiFocus",
1424
- requestType: SetUiFocusRequest,
1425
- requestStream: false,
1426
- responseType: UiFocusResponse,
1427
- responseStream: false,
1428
- options: {},
1429
- },
1430
- /** Clears the focus from any currently focused textentry or dropdown */
1431
- clearUiFocus: {
1432
- name: "ClearUiFocus",
1433
- requestType: SetUiFocusRequest,
1434
- requestStream: false,
1435
- responseType: UiFocusResponse,
1436
- responseStream: false,
1437
- options: {},
1438
- },
1439
- /** Returns the element_id of any currently focused textentry or dropdown */
1440
- getUiFocus: {
1441
- name: "GetUiFocus",
1442
- requestType: GetUiFocusRequest,
1443
- requestStream: false,
1444
- responseType: UiFocusResponse,
1445
- responseStream: false,
1446
- options: {},
1447
- },
1448
1038
  /** CopyToClipboard copies the provided text into the clipboard */
1449
1039
  copyToClipboard: {
1450
1040
  name: "CopyToClipboard",
@@ -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
  }