@dcl/protocol 1.0.0-34100371654.commit-2ed0bdc → 1.0.0-34253995430.commit-6143bfb

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 (131) 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 +2 -113
  5. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +3 -387
  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 -2
  11. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +2 -14
  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 +0 -2
  17. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +2 -14
  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 +0 -3
  20. package/out-js/decentraland/sdk/components/common/input_action.gen.js +0 -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 -4
  38. package/out-js/decentraland/sdk/components/ui_input.gen.js +1 -27
  39. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
  40. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +0 -33
  41. package/out-js/decentraland/sdk/components/ui_transform.gen.js +3 -176
  42. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
  43. package/out-ts/decentraland/common/texture.gen.ts +4 -119
  44. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +2 -414
  45. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +1 -20
  46. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +1 -16
  47. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +1 -23
  48. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +1 -16
  49. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +0 -18
  50. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +2 -108
  51. package/out-ts/decentraland/sdk/components/material.gen.ts +1 -102
  52. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +0 -99
  53. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +3 -100
  54. package/out-ts/decentraland/sdk/components/raycast.gen.ts +1 -73
  55. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +1 -37
  56. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +0 -193
  57. package/package.json +2 -2
  58. package/proto/decentraland/common/texture.proto +1 -8
  59. package/proto/decentraland/kernel/apis/restricted_actions.proto +0 -38
  60. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +1 -2
  61. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +0 -1
  62. package/proto/decentraland/sdk/components/avatar_shape.proto +0 -1
  63. package/proto/decentraland/sdk/components/camera_mode_area.proto +0 -1
  64. package/proto/decentraland/sdk/components/common/input_action.proto +0 -3
  65. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +0 -13
  66. package/proto/decentraland/sdk/components/material.proto +1 -13
  67. package/proto/decentraland/sdk/components/mesh_collider.proto +0 -7
  68. package/proto/decentraland/sdk/components/mesh_renderer.proto +3 -8
  69. package/proto/decentraland/sdk/components/primary_pointer_info.proto +0 -5
  70. package/proto/decentraland/sdk/components/raycast.proto +0 -13
  71. package/proto/decentraland/sdk/components/ui_input.proto +0 -2
  72. package/proto/decentraland/sdk/components/ui_transform.proto +0 -20
  73. package/public/sdk-components.proto +0 -10
  74. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +0 -51
  75. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -177
  76. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +0 -1
  77. package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +0 -71
  78. package/out-js/decentraland/sdk/components/avatar_movement.gen.js +0 -303
  79. package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +0 -1
  80. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +0 -79
  81. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +0 -357
  82. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +0 -1
  83. package/out-js/decentraland/sdk/components/camera_layer.gen.d.ts +0 -46
  84. package/out-js/decentraland/sdk/components/camera_layer.gen.js +0 -162
  85. package/out-js/decentraland/sdk/components/camera_layer.gen.js.map +0 -1
  86. package/out-js/decentraland/sdk/components/camera_layers.gen.d.ts +0 -30
  87. package/out-js/decentraland/sdk/components/camera_layers.gen.js +0 -80
  88. package/out-js/decentraland/sdk/components/camera_layers.gen.js.map +0 -1
  89. package/out-js/decentraland/sdk/components/global_light.gen.d.ts +0 -50
  90. package/out-js/decentraland/sdk/components/global_light.gen.js +0 -103
  91. package/out-js/decentraland/sdk/components/global_light.gen.js.map +0 -1
  92. package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +0 -66
  93. package/out-js/decentraland/sdk/components/gltf_node.gen.js +0 -69
  94. package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +0 -1
  95. package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +0 -43
  96. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +0 -122
  97. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +0 -1
  98. package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +0 -52
  99. package/out-js/decentraland/sdk/components/input_modifier.gen.js +0 -233
  100. package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +0 -1
  101. package/out-js/decentraland/sdk/components/texture_camera.gen.d.ts +0 -86
  102. package/out-js/decentraland/sdk/components/texture_camera.gen.js +0 -296
  103. package/out-js/decentraland/sdk/components/texture_camera.gen.js.map +0 -1
  104. package/out-js/decentraland/sdk/components/ui_canvas.gen.d.ts +0 -35
  105. package/out-js/decentraland/sdk/components/ui_canvas.gen.js +0 -98
  106. package/out-js/decentraland/sdk/components/ui_canvas.gen.js.map +0 -1
  107. package/out-js/decentraland/sdk/components/ui_scroll_result.gen.d.ts +0 -31
  108. package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js +0 -71
  109. package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js.map +0 -1
  110. package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +0 -237
  111. package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +0 -372
  112. package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +0 -432
  113. package/out-ts/decentraland/sdk/components/camera_layer.gen.ts +0 -202
  114. package/out-ts/decentraland/sdk/components/camera_layers.gen.ts +0 -92
  115. package/out-ts/decentraland/sdk/components/global_light.gen.ts +0 -138
  116. package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +0 -116
  117. package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +0 -139
  118. package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +0 -265
  119. package/out-ts/decentraland/sdk/components/texture_camera.gen.ts +0 -362
  120. package/out-ts/decentraland/sdk/components/ui_canvas.gen.ts +0 -115
  121. package/out-ts/decentraland/sdk/components/ui_scroll_result.gen.ts +0 -83
  122. package/proto/decentraland/sdk/components/avatar_movement.proto +0 -62
  123. package/proto/decentraland/sdk/components/avatar_movement_info.proto +0 -36
  124. package/proto/decentraland/sdk/components/camera_layer.proto +0 -30
  125. package/proto/decentraland/sdk/components/camera_layers.proto +0 -11
  126. package/proto/decentraland/sdk/components/global_light.proto +0 -22
  127. package/proto/decentraland/sdk/components/gltf_node.proto +0 -42
  128. package/proto/decentraland/sdk/components/gltf_node_state.proto +0 -20
  129. package/proto/decentraland/sdk/components/texture_camera.proto +0 -46
  130. package/proto/decentraland/sdk/components/ui_canvas.proto +0 -16
  131. 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
  }
@@ -133,35 +133,9 @@ export interface MovePlayerToResponse {
133
133
  success: boolean;
134
134
  }
135
135
 
136
- export interface WalkPlayerToRequest {
137
- newRelativePosition: Vector3 | undefined;
138
- stopThreshold: number;
139
- /** max seconds before the request is failed; not passed to the movement scene */
140
- timeout?: number | undefined;
141
- }
142
-
143
- export interface WalkPlayerToResponse {
144
- success: boolean;
145
- }
146
-
147
136
  export interface TeleportToResponse {
148
137
  }
149
138
 
150
- export interface SetUiFocusRequest {
151
- elementId: string;
152
- }
153
-
154
- export interface ClearUiFocusRequest {
155
- }
156
-
157
- export interface GetUiFocusRequest {
158
- }
159
-
160
- export interface UiFocusResponse {
161
- /** the element that is/was focussed */
162
- elementId?: string | undefined;
163
- }
164
-
165
139
  export interface CopyToClipboardRequest {
166
140
  text: string;
167
141
  }
@@ -961,149 +935,6 @@ export namespace MovePlayerToResponse {
961
935
  }
962
936
  }
963
937
 
964
- function createBaseWalkPlayerToRequest(): WalkPlayerToRequest {
965
- return { newRelativePosition: undefined, stopThreshold: 0, timeout: undefined };
966
- }
967
-
968
- export namespace WalkPlayerToRequest {
969
- export function encode(message: WalkPlayerToRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
970
- if (message.newRelativePosition !== undefined) {
971
- Vector3.encode(message.newRelativePosition, writer.uint32(10).fork()).ldelim();
972
- }
973
- if (message.stopThreshold !== 0) {
974
- writer.uint32(21).float(message.stopThreshold);
975
- }
976
- if (message.timeout !== undefined) {
977
- writer.uint32(29).float(message.timeout);
978
- }
979
- return writer;
980
- }
981
-
982
- export function decode(input: _m0.Reader | Uint8Array, length?: number): WalkPlayerToRequest {
983
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
984
- let end = length === undefined ? reader.len : reader.pos + length;
985
- const message = createBaseWalkPlayerToRequest();
986
- while (reader.pos < end) {
987
- const tag = reader.uint32();
988
- switch (tag >>> 3) {
989
- case 1:
990
- if (tag !== 10) {
991
- break;
992
- }
993
-
994
- message.newRelativePosition = Vector3.decode(reader, reader.uint32());
995
- continue;
996
- case 2:
997
- if (tag !== 21) {
998
- break;
999
- }
1000
-
1001
- message.stopThreshold = reader.float();
1002
- continue;
1003
- case 3:
1004
- if (tag !== 29) {
1005
- break;
1006
- }
1007
-
1008
- message.timeout = reader.float();
1009
- continue;
1010
- }
1011
- if ((tag & 7) === 4 || tag === 0) {
1012
- break;
1013
- }
1014
- reader.skipType(tag & 7);
1015
- }
1016
- return message;
1017
- }
1018
-
1019
- export function fromJSON(object: any): WalkPlayerToRequest {
1020
- return {
1021
- newRelativePosition: isSet(object.newRelativePosition) ? Vector3.fromJSON(object.newRelativePosition) : undefined,
1022
- stopThreshold: isSet(object.stopThreshold) ? Number(object.stopThreshold) : 0,
1023
- timeout: isSet(object.timeout) ? Number(object.timeout) : undefined,
1024
- };
1025
- }
1026
-
1027
- export function toJSON(message: WalkPlayerToRequest): unknown {
1028
- const obj: any = {};
1029
- message.newRelativePosition !== undefined &&
1030
- (obj.newRelativePosition = message.newRelativePosition ? Vector3.toJSON(message.newRelativePosition) : undefined);
1031
- message.stopThreshold !== undefined && (obj.stopThreshold = message.stopThreshold);
1032
- message.timeout !== undefined && (obj.timeout = message.timeout);
1033
- return obj;
1034
- }
1035
-
1036
- export function create<I extends Exact<DeepPartial<WalkPlayerToRequest>, I>>(base?: I): WalkPlayerToRequest {
1037
- return WalkPlayerToRequest.fromPartial(base ?? {});
1038
- }
1039
-
1040
- export function fromPartial<I extends Exact<DeepPartial<WalkPlayerToRequest>, I>>(object: I): WalkPlayerToRequest {
1041
- const message = createBaseWalkPlayerToRequest();
1042
- message.newRelativePosition = (object.newRelativePosition !== undefined && object.newRelativePosition !== null)
1043
- ? Vector3.fromPartial(object.newRelativePosition)
1044
- : undefined;
1045
- message.stopThreshold = object.stopThreshold ?? 0;
1046
- message.timeout = object.timeout ?? undefined;
1047
- return message;
1048
- }
1049
- }
1050
-
1051
- function createBaseWalkPlayerToResponse(): WalkPlayerToResponse {
1052
- return { success: false };
1053
- }
1054
-
1055
- export namespace WalkPlayerToResponse {
1056
- export function encode(message: WalkPlayerToResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1057
- if (message.success === true) {
1058
- writer.uint32(8).bool(message.success);
1059
- }
1060
- return writer;
1061
- }
1062
-
1063
- export function decode(input: _m0.Reader | Uint8Array, length?: number): WalkPlayerToResponse {
1064
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1065
- let end = length === undefined ? reader.len : reader.pos + length;
1066
- const message = createBaseWalkPlayerToResponse();
1067
- while (reader.pos < end) {
1068
- const tag = reader.uint32();
1069
- switch (tag >>> 3) {
1070
- case 1:
1071
- if (tag !== 8) {
1072
- break;
1073
- }
1074
-
1075
- message.success = reader.bool();
1076
- continue;
1077
- }
1078
- if ((tag & 7) === 4 || tag === 0) {
1079
- break;
1080
- }
1081
- reader.skipType(tag & 7);
1082
- }
1083
- return message;
1084
- }
1085
-
1086
- export function fromJSON(object: any): WalkPlayerToResponse {
1087
- return { success: isSet(object.success) ? Boolean(object.success) : false };
1088
- }
1089
-
1090
- export function toJSON(message: WalkPlayerToResponse): unknown {
1091
- const obj: any = {};
1092
- message.success !== undefined && (obj.success = message.success);
1093
- return obj;
1094
- }
1095
-
1096
- export function create<I extends Exact<DeepPartial<WalkPlayerToResponse>, I>>(base?: I): WalkPlayerToResponse {
1097
- return WalkPlayerToResponse.fromPartial(base ?? {});
1098
- }
1099
-
1100
- export function fromPartial<I extends Exact<DeepPartial<WalkPlayerToResponse>, I>>(object: I): WalkPlayerToResponse {
1101
- const message = createBaseWalkPlayerToResponse();
1102
- message.success = object.success ?? false;
1103
- return message;
1104
- }
1105
- }
1106
-
1107
938
  function createBaseTeleportToResponse(): TeleportToResponse {
1108
939
  return {};
1109
940
  }
@@ -1148,206 +979,6 @@ export namespace TeleportToResponse {
1148
979
  }
1149
980
  }
1150
981
 
1151
- function createBaseSetUiFocusRequest(): SetUiFocusRequest {
1152
- return { elementId: "" };
1153
- }
1154
-
1155
- export namespace SetUiFocusRequest {
1156
- export function encode(message: SetUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1157
- if (message.elementId !== "") {
1158
- writer.uint32(10).string(message.elementId);
1159
- }
1160
- return writer;
1161
- }
1162
-
1163
- export function decode(input: _m0.Reader | Uint8Array, length?: number): SetUiFocusRequest {
1164
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1165
- let end = length === undefined ? reader.len : reader.pos + length;
1166
- const message = createBaseSetUiFocusRequest();
1167
- while (reader.pos < end) {
1168
- const tag = reader.uint32();
1169
- switch (tag >>> 3) {
1170
- case 1:
1171
- if (tag !== 10) {
1172
- break;
1173
- }
1174
-
1175
- message.elementId = reader.string();
1176
- continue;
1177
- }
1178
- if ((tag & 7) === 4 || tag === 0) {
1179
- break;
1180
- }
1181
- reader.skipType(tag & 7);
1182
- }
1183
- return message;
1184
- }
1185
-
1186
- export function fromJSON(object: any): SetUiFocusRequest {
1187
- return { elementId: isSet(object.elementId) ? String(object.elementId) : "" };
1188
- }
1189
-
1190
- export function toJSON(message: SetUiFocusRequest): unknown {
1191
- const obj: any = {};
1192
- message.elementId !== undefined && (obj.elementId = message.elementId);
1193
- return obj;
1194
- }
1195
-
1196
- export function create<I extends Exact<DeepPartial<SetUiFocusRequest>, I>>(base?: I): SetUiFocusRequest {
1197
- return SetUiFocusRequest.fromPartial(base ?? {});
1198
- }
1199
-
1200
- export function fromPartial<I extends Exact<DeepPartial<SetUiFocusRequest>, I>>(object: I): SetUiFocusRequest {
1201
- const message = createBaseSetUiFocusRequest();
1202
- message.elementId = object.elementId ?? "";
1203
- return message;
1204
- }
1205
- }
1206
-
1207
- function createBaseClearUiFocusRequest(): ClearUiFocusRequest {
1208
- return {};
1209
- }
1210
-
1211
- export namespace ClearUiFocusRequest {
1212
- export function encode(_: ClearUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1213
- return writer;
1214
- }
1215
-
1216
- export function decode(input: _m0.Reader | Uint8Array, length?: number): ClearUiFocusRequest {
1217
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1218
- let end = length === undefined ? reader.len : reader.pos + length;
1219
- const message = createBaseClearUiFocusRequest();
1220
- while (reader.pos < end) {
1221
- const tag = reader.uint32();
1222
- switch (tag >>> 3) {
1223
- }
1224
- if ((tag & 7) === 4 || tag === 0) {
1225
- break;
1226
- }
1227
- reader.skipType(tag & 7);
1228
- }
1229
- return message;
1230
- }
1231
-
1232
- export function fromJSON(_: any): ClearUiFocusRequest {
1233
- return {};
1234
- }
1235
-
1236
- export function toJSON(_: ClearUiFocusRequest): unknown {
1237
- const obj: any = {};
1238
- return obj;
1239
- }
1240
-
1241
- export function create<I extends Exact<DeepPartial<ClearUiFocusRequest>, I>>(base?: I): ClearUiFocusRequest {
1242
- return ClearUiFocusRequest.fromPartial(base ?? {});
1243
- }
1244
-
1245
- export function fromPartial<I extends Exact<DeepPartial<ClearUiFocusRequest>, I>>(_: I): ClearUiFocusRequest {
1246
- const message = createBaseClearUiFocusRequest();
1247
- return message;
1248
- }
1249
- }
1250
-
1251
- function createBaseGetUiFocusRequest(): GetUiFocusRequest {
1252
- return {};
1253
- }
1254
-
1255
- export namespace GetUiFocusRequest {
1256
- export function encode(_: GetUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1257
- return writer;
1258
- }
1259
-
1260
- export function decode(input: _m0.Reader | Uint8Array, length?: number): GetUiFocusRequest {
1261
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1262
- let end = length === undefined ? reader.len : reader.pos + length;
1263
- const message = createBaseGetUiFocusRequest();
1264
- while (reader.pos < end) {
1265
- const tag = reader.uint32();
1266
- switch (tag >>> 3) {
1267
- }
1268
- if ((tag & 7) === 4 || tag === 0) {
1269
- break;
1270
- }
1271
- reader.skipType(tag & 7);
1272
- }
1273
- return message;
1274
- }
1275
-
1276
- export function fromJSON(_: any): GetUiFocusRequest {
1277
- return {};
1278
- }
1279
-
1280
- export function toJSON(_: GetUiFocusRequest): unknown {
1281
- const obj: any = {};
1282
- return obj;
1283
- }
1284
-
1285
- export function create<I extends Exact<DeepPartial<GetUiFocusRequest>, I>>(base?: I): GetUiFocusRequest {
1286
- return GetUiFocusRequest.fromPartial(base ?? {});
1287
- }
1288
-
1289
- export function fromPartial<I extends Exact<DeepPartial<GetUiFocusRequest>, I>>(_: I): GetUiFocusRequest {
1290
- const message = createBaseGetUiFocusRequest();
1291
- return message;
1292
- }
1293
- }
1294
-
1295
- function createBaseUiFocusResponse(): UiFocusResponse {
1296
- return { elementId: undefined };
1297
- }
1298
-
1299
- export namespace UiFocusResponse {
1300
- export function encode(message: UiFocusResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1301
- if (message.elementId !== undefined) {
1302
- writer.uint32(10).string(message.elementId);
1303
- }
1304
- return writer;
1305
- }
1306
-
1307
- export function decode(input: _m0.Reader | Uint8Array, length?: number): UiFocusResponse {
1308
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1309
- let end = length === undefined ? reader.len : reader.pos + length;
1310
- const message = createBaseUiFocusResponse();
1311
- while (reader.pos < end) {
1312
- const tag = reader.uint32();
1313
- switch (tag >>> 3) {
1314
- case 1:
1315
- if (tag !== 10) {
1316
- break;
1317
- }
1318
-
1319
- message.elementId = reader.string();
1320
- continue;
1321
- }
1322
- if ((tag & 7) === 4 || tag === 0) {
1323
- break;
1324
- }
1325
- reader.skipType(tag & 7);
1326
- }
1327
- return message;
1328
- }
1329
-
1330
- export function fromJSON(object: any): UiFocusResponse {
1331
- return { elementId: isSet(object.elementId) ? String(object.elementId) : undefined };
1332
- }
1333
-
1334
- export function toJSON(message: UiFocusResponse): unknown {
1335
- const obj: any = {};
1336
- message.elementId !== undefined && (obj.elementId = message.elementId);
1337
- return obj;
1338
- }
1339
-
1340
- export function create<I extends Exact<DeepPartial<UiFocusResponse>, I>>(base?: I): UiFocusResponse {
1341
- return UiFocusResponse.fromPartial(base ?? {});
1342
- }
1343
-
1344
- export function fromPartial<I extends Exact<DeepPartial<UiFocusResponse>, I>>(object: I): UiFocusResponse {
1345
- const message = createBaseUiFocusResponse();
1346
- message.elementId = object.elementId ?? undefined;
1347
- return message;
1348
- }
1349
- }
1350
-
1351
982
  function createBaseCopyToClipboardRequest(): CopyToClipboardRequest {
1352
983
  return { text: "" };
1353
984
  }
@@ -1628,21 +1259,7 @@ export const RestrictedActionsServiceDefinition = {
1628
1259
  responseStream: false,
1629
1260
  options: {},
1630
1261
  },
1631
- /**
1632
- * TeleportTo will move the user to the specified world LAND parcel coordinates
1633
- * WalkPlayerTo will walk the player to a position relative to the current scene,
1634
- * managed by the movement controller scene. Returns success when the player reaches
1635
- * within stop_threshold distance, or false if the path is blocked, the player gets
1636
- * stuck, the player interrupts the walk with manual input, or the optional timeout expires.
1637
- */
1638
- walkPlayerTo: {
1639
- name: "WalkPlayerTo",
1640
- requestType: WalkPlayerToRequest,
1641
- requestStream: false,
1642
- responseType: WalkPlayerToResponse,
1643
- responseStream: false,
1644
- options: {},
1645
- },
1262
+ /** TeleportTo will move the user to the specified world LAND parcel coordinates */
1646
1263
  teleportTo: {
1647
1264
  name: "TeleportTo",
1648
1265
  requestType: TeleportToRequest,
@@ -1711,36 +1328,7 @@ export const RestrictedActionsServiceDefinition = {
1711
1328
  responseStream: false,
1712
1329
  options: {},
1713
1330
  },
1714
- /**
1715
- * CopyToClipboard copies the provided text into the clipboard
1716
- * Sets the focus to a specific UI element
1717
- */
1718
- setUiFocus: {
1719
- name: "SetUiFocus",
1720
- requestType: SetUiFocusRequest,
1721
- requestStream: false,
1722
- responseType: UiFocusResponse,
1723
- responseStream: false,
1724
- options: {},
1725
- },
1726
- /** Clears the focus from any currently focused textentry or dropdown */
1727
- clearUiFocus: {
1728
- name: "ClearUiFocus",
1729
- requestType: ClearUiFocusRequest,
1730
- requestStream: false,
1731
- responseType: UiFocusResponse,
1732
- responseStream: false,
1733
- options: {},
1734
- },
1735
- /** Returns the element_id of any currently focused textentry or dropdown */
1736
- getUiFocus: {
1737
- name: "GetUiFocus",
1738
- requestType: GetUiFocusRequest,
1739
- requestStream: false,
1740
- responseType: UiFocusResponse,
1741
- responseStream: false,
1742
- options: {},
1743
- },
1331
+ /** CopyToClipboard copies the provided text into the clipboard */
1744
1332
  copyToClipboard: {
1745
1333
  name: "CopyToClipboard",
1746
1334
  requestType: CopyToClipboardRequest,
@@ -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
  }