@dcl/protocol 1.0.0-25007945013.commit-ba53eb0 → 1.0.0-25333834804.commit-afef740

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 (125) 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/comms_api.gen.d.ts +130 -0
  5. package/out-js/decentraland/kernel/apis/comms_api.gen.js +536 -1
  6. package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -1
  7. package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +0 -109
  8. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1 -383
  9. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
  10. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +52 -0
  11. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +339 -5
  12. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
  13. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +0 -2
  14. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +2 -19
  15. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -1
  16. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +0 -41
  17. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +3 -241
  18. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
  19. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +0 -2
  20. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +1 -19
  21. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
  22. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +1 -35
  23. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +3 -172
  24. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
  25. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +0 -4
  26. package/out-js/decentraland/sdk/components/common/input_action.gen.js +0 -24
  27. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
  28. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +0 -19
  29. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +3 -90
  30. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
  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/raycast.gen.d.ts +0 -13
  41. package/out-js/decentraland/sdk/components/raycast.gen.js +2 -64
  42. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
  43. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +0 -2
  44. package/out-js/decentraland/sdk/components/ui_input.gen.js +1 -14
  45. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
  46. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +0 -4
  47. package/out-js/decentraland/sdk/components/ui_text.gen.js +1 -30
  48. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
  49. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +0 -33
  50. package/out-js/decentraland/sdk/components/ui_transform.gen.js +3 -176
  51. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
  52. package/out-ts/decentraland/common/texture.gen.ts +4 -119
  53. package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +589 -0
  54. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +0 -410
  55. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +376 -0
  56. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +1 -20
  57. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +1 -292
  58. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +1 -23
  59. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +2 -218
  60. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +0 -24
  61. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +2 -108
  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/raycast.gen.ts +1 -73
  66. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +1 -19
  67. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +1 -40
  68. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +0 -193
  69. package/package.json +3 -6
  70. package/proto/decentraland/common/texture.proto +1 -8
  71. package/proto/decentraland/kernel/apis/comms_api.proto +37 -1
  72. package/proto/decentraland/kernel/apis/restricted_actions.proto +1 -39
  73. package/proto/decentraland/kernel/comms/rfc4/comms.proto +25 -0
  74. package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
  75. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +1 -2
  76. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +0 -21
  77. package/proto/decentraland/sdk/components/avatar_shape.proto +0 -1
  78. package/proto/decentraland/sdk/components/camera_mode_area.proto +3 -22
  79. package/proto/decentraland/sdk/components/common/input_action.proto +0 -4
  80. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +0 -13
  81. package/proto/decentraland/sdk/components/material.proto +1 -13
  82. package/proto/decentraland/sdk/components/mesh_collider.proto +0 -7
  83. package/proto/decentraland/sdk/components/mesh_renderer.proto +3 -8
  84. package/proto/decentraland/sdk/components/particle_system.proto +5 -1
  85. package/proto/decentraland/sdk/components/primary_pointer_info.proto +0 -5
  86. package/proto/decentraland/sdk/components/raycast.proto +0 -13
  87. package/proto/decentraland/sdk/components/ui_input.proto +0 -1
  88. package/proto/decentraland/sdk/components/ui_text.proto +0 -3
  89. package/proto/decentraland/sdk/components/ui_transform.proto +0 -20
  90. package/public/sdk-components.proto +0 -4
  91. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +0 -45
  92. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -138
  93. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +0 -1
  94. package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +0 -36
  95. package/out-js/decentraland/sdk/components/avatar_movement.gen.js +0 -113
  96. package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +0 -1
  97. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +0 -48
  98. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +0 -207
  99. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +0 -1
  100. package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +0 -66
  101. package/out-js/decentraland/sdk/components/gltf_node.gen.js +0 -69
  102. package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +0 -1
  103. package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +0 -43
  104. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +0 -122
  105. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +0 -1
  106. package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +0 -52
  107. package/out-js/decentraland/sdk/components/input_modifier.gen.js +0 -233
  108. package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +0 -1
  109. package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +0 -183
  110. package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +0 -136
  111. package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +0 -249
  112. package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +0 -116
  113. package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +0 -139
  114. package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +0 -265
  115. package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +0 -18
  116. package/proto/decentraland/sdk/components/avatar_movement.proto +0 -46
  117. package/proto/decentraland/sdk/components/avatar_movement_info.proto +0 -22
  118. package/proto/decentraland/sdk/components/camera_layer.proto +0 -30
  119. package/proto/decentraland/sdk/components/camera_layers.proto +0 -11
  120. package/proto/decentraland/sdk/components/global_light.proto +0 -22
  121. package/proto/decentraland/sdk/components/gltf_node.proto +0 -42
  122. package/proto/decentraland/sdk/components/gltf_node_state.proto +0 -20
  123. package/proto/decentraland/sdk/components/texture_camera.proto +0 -46
  124. package/proto/decentraland/sdk/components/ui_canvas.proto +0 -16
  125. package/proto/decentraland/sdk/components/ui_scroll_result.proto +0 -12
@@ -41,28 +41,8 @@ export interface TriggerEmoteResponse {
41
41
  export interface MovePlayerToResponse {
42
42
  success: boolean;
43
43
  }
44
- export interface WalkPlayerToRequest {
45
- newRelativePosition: Vector3 | undefined;
46
- stopThreshold: number;
47
- /** max seconds before the request is failed; not passed to the movement scene */
48
- timeout?: number | undefined;
49
- }
50
- export interface WalkPlayerToResponse {
51
- success: boolean;
52
- }
53
44
  export interface TeleportToResponse {
54
45
  }
55
- export interface SetUiFocusRequest {
56
- elementId: string;
57
- }
58
- export interface ClearUiFocusRequest {
59
- }
60
- export interface GetUiFocusRequest {
61
- }
62
- export interface UiFocusResponse {
63
- /** the element that is/was focussed */
64
- elementId?: string | undefined;
65
- }
66
46
  export interface CopyToClipboardRequest {
67
47
  text: string;
68
48
  }
@@ -164,22 +144,6 @@ export declare namespace MovePlayerToResponse {
164
144
  function create<I extends Exact<DeepPartial<MovePlayerToResponse>, I>>(base?: I): MovePlayerToResponse;
165
145
  function fromPartial<I extends Exact<DeepPartial<MovePlayerToResponse>, I>>(object: I): MovePlayerToResponse;
166
146
  }
167
- export declare namespace WalkPlayerToRequest {
168
- function encode(message: WalkPlayerToRequest, writer?: _m0.Writer): _m0.Writer;
169
- function decode(input: _m0.Reader | Uint8Array, length?: number): WalkPlayerToRequest;
170
- function fromJSON(object: any): WalkPlayerToRequest;
171
- function toJSON(message: WalkPlayerToRequest): unknown;
172
- function create<I extends Exact<DeepPartial<WalkPlayerToRequest>, I>>(base?: I): WalkPlayerToRequest;
173
- function fromPartial<I extends Exact<DeepPartial<WalkPlayerToRequest>, I>>(object: I): WalkPlayerToRequest;
174
- }
175
- export declare namespace WalkPlayerToResponse {
176
- function encode(message: WalkPlayerToResponse, writer?: _m0.Writer): _m0.Writer;
177
- function decode(input: _m0.Reader | Uint8Array, length?: number): WalkPlayerToResponse;
178
- function fromJSON(object: any): WalkPlayerToResponse;
179
- function toJSON(message: WalkPlayerToResponse): unknown;
180
- function create<I extends Exact<DeepPartial<WalkPlayerToResponse>, I>>(base?: I): WalkPlayerToResponse;
181
- function fromPartial<I extends Exact<DeepPartial<WalkPlayerToResponse>, I>>(object: I): WalkPlayerToResponse;
182
- }
183
147
  export declare namespace TeleportToResponse {
184
148
  function encode(_: TeleportToResponse, writer?: _m0.Writer): _m0.Writer;
185
149
  function decode(input: _m0.Reader | Uint8Array, length?: number): TeleportToResponse;
@@ -188,38 +152,6 @@ export declare namespace TeleportToResponse {
188
152
  function create<I extends Exact<DeepPartial<TeleportToResponse>, I>>(base?: I): TeleportToResponse;
189
153
  function fromPartial<I extends Exact<DeepPartial<TeleportToResponse>, I>>(_: I): TeleportToResponse;
190
154
  }
191
- export declare namespace SetUiFocusRequest {
192
- function encode(message: SetUiFocusRequest, writer?: _m0.Writer): _m0.Writer;
193
- function decode(input: _m0.Reader | Uint8Array, length?: number): SetUiFocusRequest;
194
- function fromJSON(object: any): SetUiFocusRequest;
195
- function toJSON(message: SetUiFocusRequest): unknown;
196
- function create<I extends Exact<DeepPartial<SetUiFocusRequest>, I>>(base?: I): SetUiFocusRequest;
197
- function fromPartial<I extends Exact<DeepPartial<SetUiFocusRequest>, I>>(object: I): SetUiFocusRequest;
198
- }
199
- export declare namespace ClearUiFocusRequest {
200
- function encode(_: ClearUiFocusRequest, writer?: _m0.Writer): _m0.Writer;
201
- function decode(input: _m0.Reader | Uint8Array, length?: number): ClearUiFocusRequest;
202
- function fromJSON(_: any): ClearUiFocusRequest;
203
- function toJSON(_: ClearUiFocusRequest): unknown;
204
- function create<I extends Exact<DeepPartial<ClearUiFocusRequest>, I>>(base?: I): ClearUiFocusRequest;
205
- function fromPartial<I extends Exact<DeepPartial<ClearUiFocusRequest>, I>>(_: I): ClearUiFocusRequest;
206
- }
207
- export declare namespace GetUiFocusRequest {
208
- function encode(_: GetUiFocusRequest, writer?: _m0.Writer): _m0.Writer;
209
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetUiFocusRequest;
210
- function fromJSON(_: any): GetUiFocusRequest;
211
- function toJSON(_: GetUiFocusRequest): unknown;
212
- function create<I extends Exact<DeepPartial<GetUiFocusRequest>, I>>(base?: I): GetUiFocusRequest;
213
- function fromPartial<I extends Exact<DeepPartial<GetUiFocusRequest>, I>>(_: I): GetUiFocusRequest;
214
- }
215
- export declare namespace UiFocusResponse {
216
- function encode(message: UiFocusResponse, writer?: _m0.Writer): _m0.Writer;
217
- function decode(input: _m0.Reader | Uint8Array, length?: number): UiFocusResponse;
218
- function fromJSON(object: any): UiFocusResponse;
219
- function toJSON(message: UiFocusResponse): unknown;
220
- function create<I extends Exact<DeepPartial<UiFocusResponse>, I>>(base?: I): UiFocusResponse;
221
- function fromPartial<I extends Exact<DeepPartial<UiFocusResponse>, I>>(object: I): UiFocusResponse;
222
- }
223
155
  export declare namespace CopyToClipboardRequest {
224
156
  function encode(message: CopyToClipboardRequest, writer?: _m0.Writer): _m0.Writer;
225
157
  function decode(input: _m0.Reader | Uint8Array, length?: number): CopyToClipboardRequest;
@@ -254,20 +186,6 @@ export declare const RestrictedActionsServiceDefinition: {
254
186
  readonly responseStream: false;
255
187
  readonly options: {};
256
188
  };
257
- /**
258
- * WalkPlayerTo will walk the player to a position relative to the current scene,
259
- * managed by the movement controller scene. Returns success when the player reaches
260
- * within stop_threshold distance, or false if the path is blocked, the player gets
261
- * stuck, the player interrupts the walk with manual input, or the optional timeout expires.
262
- */
263
- readonly walkPlayerTo: {
264
- readonly name: "WalkPlayerTo";
265
- readonly requestType: typeof WalkPlayerToRequest;
266
- readonly requestStream: false;
267
- readonly responseType: typeof WalkPlayerToResponse;
268
- readonly responseStream: false;
269
- readonly options: {};
270
- };
271
189
  /** TeleportTo will move the user to the specified world LAND parcel coordinates */
272
190
  readonly teleportTo: {
273
191
  readonly name: "TeleportTo";
@@ -334,33 +252,6 @@ export declare const RestrictedActionsServiceDefinition: {
334
252
  readonly responseStream: false;
335
253
  readonly options: {};
336
254
  };
337
- /** Sets the focus to a specific UI element */
338
- readonly setUiFocus: {
339
- readonly name: "SetUiFocus";
340
- readonly requestType: typeof SetUiFocusRequest;
341
- readonly requestStream: false;
342
- readonly responseType: typeof UiFocusResponse;
343
- readonly responseStream: false;
344
- readonly options: {};
345
- };
346
- /** Clears the focus from any currently focused textentry or dropdown */
347
- readonly clearUiFocus: {
348
- readonly name: "ClearUiFocus";
349
- readonly requestType: typeof SetUiFocusRequest;
350
- readonly requestStream: false;
351
- readonly responseType: typeof UiFocusResponse;
352
- readonly responseStream: false;
353
- readonly options: {};
354
- };
355
- /** Returns the element_id of any currently focused textentry or dropdown */
356
- readonly getUiFocus: {
357
- readonly name: "GetUiFocus";
358
- readonly requestType: typeof GetUiFocusRequest;
359
- readonly requestStream: false;
360
- readonly responseType: typeof UiFocusResponse;
361
- readonly responseStream: false;
362
- readonly options: {};
363
- };
364
255
  /** CopyToClipboard copies the provided text into the clipboard */
365
256
  readonly copyToClipboard: {
366
257
  readonly name: "CopyToClipboard";
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.RestrictedActionsServiceDefinition = exports.EmptyResponse = exports.CopyToClipboardRequest = exports.UiFocusResponse = exports.GetUiFocusRequest = exports.ClearUiFocusRequest = exports.SetUiFocusRequest = exports.TeleportToResponse = exports.WalkPlayerToResponse = exports.WalkPlayerToRequest = exports.MovePlayerToResponse = exports.TriggerEmoteResponse = exports.SuccessResponse = exports.TriggerSceneEmoteRequest = exports.CommsAdapterRequest = exports.UnblockPointerRequest = exports.OpenNftDialogRequest = exports.OpenExternalUrlRequest = exports.ChangeRealmRequest = exports.TriggerEmoteRequest = exports.TeleportToRequest = exports.MovePlayerToRequest = exports.protobufPackage = void 0;
6
+ exports.RestrictedActionsServiceDefinition = exports.EmptyResponse = exports.CopyToClipboardRequest = exports.TeleportToResponse = exports.MovePlayerToResponse = exports.TriggerEmoteResponse = exports.SuccessResponse = exports.TriggerSceneEmoteRequest = exports.CommsAdapterRequest = exports.UnblockPointerRequest = exports.OpenNftDialogRequest = exports.OpenExternalUrlRequest = exports.ChangeRealmRequest = exports.TriggerEmoteRequest = exports.TeleportToRequest = exports.MovePlayerToRequest = exports.protobufPackage = void 0;
7
7
  /* eslint-disable */
8
8
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
9
  const vectors_gen_1 = require("../../common/vectors.gen");
@@ -733,147 +733,6 @@ var MovePlayerToResponse;
733
733
  }
734
734
  MovePlayerToResponse.fromPartial = fromPartial;
735
735
  })(MovePlayerToResponse || (exports.MovePlayerToResponse = MovePlayerToResponse = {}));
736
- function createBaseWalkPlayerToRequest() {
737
- return { newRelativePosition: undefined, stopThreshold: 0, timeout: undefined };
738
- }
739
- var WalkPlayerToRequest;
740
- (function (WalkPlayerToRequest) {
741
- function encode(message, writer = minimal_1.default.Writer.create()) {
742
- if (message.newRelativePosition !== undefined) {
743
- vectors_gen_1.Vector3.encode(message.newRelativePosition, writer.uint32(10).fork()).ldelim();
744
- }
745
- if (message.stopThreshold !== 0) {
746
- writer.uint32(21).float(message.stopThreshold);
747
- }
748
- if (message.timeout !== undefined) {
749
- writer.uint32(29).float(message.timeout);
750
- }
751
- return writer;
752
- }
753
- WalkPlayerToRequest.encode = encode;
754
- function decode(input, length) {
755
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
756
- let end = length === undefined ? reader.len : reader.pos + length;
757
- const message = createBaseWalkPlayerToRequest();
758
- while (reader.pos < end) {
759
- const tag = reader.uint32();
760
- switch (tag >>> 3) {
761
- case 1:
762
- if (tag !== 10) {
763
- break;
764
- }
765
- message.newRelativePosition = vectors_gen_1.Vector3.decode(reader, reader.uint32());
766
- continue;
767
- case 2:
768
- if (tag !== 21) {
769
- break;
770
- }
771
- message.stopThreshold = reader.float();
772
- continue;
773
- case 3:
774
- if (tag !== 29) {
775
- break;
776
- }
777
- message.timeout = reader.float();
778
- continue;
779
- }
780
- if ((tag & 7) === 4 || tag === 0) {
781
- break;
782
- }
783
- reader.skipType(tag & 7);
784
- }
785
- return message;
786
- }
787
- WalkPlayerToRequest.decode = decode;
788
- function fromJSON(object) {
789
- return {
790
- newRelativePosition: isSet(object.newRelativePosition) ? vectors_gen_1.Vector3.fromJSON(object.newRelativePosition) : undefined,
791
- stopThreshold: isSet(object.stopThreshold) ? Number(object.stopThreshold) : 0,
792
- timeout: isSet(object.timeout) ? Number(object.timeout) : undefined,
793
- };
794
- }
795
- WalkPlayerToRequest.fromJSON = fromJSON;
796
- function toJSON(message) {
797
- const obj = {};
798
- message.newRelativePosition !== undefined &&
799
- (obj.newRelativePosition = message.newRelativePosition ? vectors_gen_1.Vector3.toJSON(message.newRelativePosition) : undefined);
800
- message.stopThreshold !== undefined && (obj.stopThreshold = message.stopThreshold);
801
- message.timeout !== undefined && (obj.timeout = message.timeout);
802
- return obj;
803
- }
804
- WalkPlayerToRequest.toJSON = toJSON;
805
- function create(base) {
806
- return WalkPlayerToRequest.fromPartial(base !== null && base !== void 0 ? base : {});
807
- }
808
- WalkPlayerToRequest.create = create;
809
- function fromPartial(object) {
810
- var _a, _b;
811
- const message = createBaseWalkPlayerToRequest();
812
- message.newRelativePosition = (object.newRelativePosition !== undefined && object.newRelativePosition !== null)
813
- ? vectors_gen_1.Vector3.fromPartial(object.newRelativePosition)
814
- : undefined;
815
- message.stopThreshold = (_a = object.stopThreshold) !== null && _a !== void 0 ? _a : 0;
816
- message.timeout = (_b = object.timeout) !== null && _b !== void 0 ? _b : undefined;
817
- return message;
818
- }
819
- WalkPlayerToRequest.fromPartial = fromPartial;
820
- })(WalkPlayerToRequest || (exports.WalkPlayerToRequest = WalkPlayerToRequest = {}));
821
- function createBaseWalkPlayerToResponse() {
822
- return { success: false };
823
- }
824
- var WalkPlayerToResponse;
825
- (function (WalkPlayerToResponse) {
826
- function encode(message, writer = minimal_1.default.Writer.create()) {
827
- if (message.success === true) {
828
- writer.uint32(8).bool(message.success);
829
- }
830
- return writer;
831
- }
832
- WalkPlayerToResponse.encode = encode;
833
- function decode(input, length) {
834
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
835
- let end = length === undefined ? reader.len : reader.pos + length;
836
- const message = createBaseWalkPlayerToResponse();
837
- while (reader.pos < end) {
838
- const tag = reader.uint32();
839
- switch (tag >>> 3) {
840
- case 1:
841
- if (tag !== 8) {
842
- break;
843
- }
844
- message.success = reader.bool();
845
- continue;
846
- }
847
- if ((tag & 7) === 4 || tag === 0) {
848
- break;
849
- }
850
- reader.skipType(tag & 7);
851
- }
852
- return message;
853
- }
854
- WalkPlayerToResponse.decode = decode;
855
- function fromJSON(object) {
856
- return { success: isSet(object.success) ? Boolean(object.success) : false };
857
- }
858
- WalkPlayerToResponse.fromJSON = fromJSON;
859
- function toJSON(message) {
860
- const obj = {};
861
- message.success !== undefined && (obj.success = message.success);
862
- return obj;
863
- }
864
- WalkPlayerToResponse.toJSON = toJSON;
865
- function create(base) {
866
- return WalkPlayerToResponse.fromPartial(base !== null && base !== void 0 ? base : {});
867
- }
868
- WalkPlayerToResponse.create = create;
869
- function fromPartial(object) {
870
- var _a;
871
- const message = createBaseWalkPlayerToResponse();
872
- message.success = (_a = object.success) !== null && _a !== void 0 ? _a : false;
873
- return message;
874
- }
875
- WalkPlayerToResponse.fromPartial = fromPartial;
876
- })(WalkPlayerToResponse || (exports.WalkPlayerToResponse = WalkPlayerToResponse = {}));
877
736
  function createBaseTeleportToResponse() {
878
737
  return {};
879
738
  }
@@ -918,206 +777,6 @@ var TeleportToResponse;
918
777
  }
919
778
  TeleportToResponse.fromPartial = fromPartial;
920
779
  })(TeleportToResponse || (exports.TeleportToResponse = TeleportToResponse = {}));
921
- function createBaseSetUiFocusRequest() {
922
- return { elementId: "" };
923
- }
924
- var SetUiFocusRequest;
925
- (function (SetUiFocusRequest) {
926
- function encode(message, writer = minimal_1.default.Writer.create()) {
927
- if (message.elementId !== "") {
928
- writer.uint32(10).string(message.elementId);
929
- }
930
- return writer;
931
- }
932
- SetUiFocusRequest.encode = encode;
933
- function decode(input, length) {
934
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
935
- let end = length === undefined ? reader.len : reader.pos + length;
936
- const message = createBaseSetUiFocusRequest();
937
- while (reader.pos < end) {
938
- const tag = reader.uint32();
939
- switch (tag >>> 3) {
940
- case 1:
941
- if (tag !== 10) {
942
- break;
943
- }
944
- message.elementId = reader.string();
945
- continue;
946
- }
947
- if ((tag & 7) === 4 || tag === 0) {
948
- break;
949
- }
950
- reader.skipType(tag & 7);
951
- }
952
- return message;
953
- }
954
- SetUiFocusRequest.decode = decode;
955
- function fromJSON(object) {
956
- return { elementId: isSet(object.elementId) ? String(object.elementId) : "" };
957
- }
958
- SetUiFocusRequest.fromJSON = fromJSON;
959
- function toJSON(message) {
960
- const obj = {};
961
- message.elementId !== undefined && (obj.elementId = message.elementId);
962
- return obj;
963
- }
964
- SetUiFocusRequest.toJSON = toJSON;
965
- function create(base) {
966
- return SetUiFocusRequest.fromPartial(base !== null && base !== void 0 ? base : {});
967
- }
968
- SetUiFocusRequest.create = create;
969
- function fromPartial(object) {
970
- var _a;
971
- const message = createBaseSetUiFocusRequest();
972
- message.elementId = (_a = object.elementId) !== null && _a !== void 0 ? _a : "";
973
- return message;
974
- }
975
- SetUiFocusRequest.fromPartial = fromPartial;
976
- })(SetUiFocusRequest || (exports.SetUiFocusRequest = SetUiFocusRequest = {}));
977
- function createBaseClearUiFocusRequest() {
978
- return {};
979
- }
980
- var ClearUiFocusRequest;
981
- (function (ClearUiFocusRequest) {
982
- function encode(_, writer = minimal_1.default.Writer.create()) {
983
- return writer;
984
- }
985
- ClearUiFocusRequest.encode = encode;
986
- function decode(input, length) {
987
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
988
- let end = length === undefined ? reader.len : reader.pos + length;
989
- const message = createBaseClearUiFocusRequest();
990
- while (reader.pos < end) {
991
- const tag = reader.uint32();
992
- switch (tag >>> 3) {
993
- }
994
- if ((tag & 7) === 4 || tag === 0) {
995
- break;
996
- }
997
- reader.skipType(tag & 7);
998
- }
999
- return message;
1000
- }
1001
- ClearUiFocusRequest.decode = decode;
1002
- function fromJSON(_) {
1003
- return {};
1004
- }
1005
- ClearUiFocusRequest.fromJSON = fromJSON;
1006
- function toJSON(_) {
1007
- const obj = {};
1008
- return obj;
1009
- }
1010
- ClearUiFocusRequest.toJSON = toJSON;
1011
- function create(base) {
1012
- return ClearUiFocusRequest.fromPartial(base !== null && base !== void 0 ? base : {});
1013
- }
1014
- ClearUiFocusRequest.create = create;
1015
- function fromPartial(_) {
1016
- const message = createBaseClearUiFocusRequest();
1017
- return message;
1018
- }
1019
- ClearUiFocusRequest.fromPartial = fromPartial;
1020
- })(ClearUiFocusRequest || (exports.ClearUiFocusRequest = ClearUiFocusRequest = {}));
1021
- function createBaseGetUiFocusRequest() {
1022
- return {};
1023
- }
1024
- var GetUiFocusRequest;
1025
- (function (GetUiFocusRequest) {
1026
- function encode(_, writer = minimal_1.default.Writer.create()) {
1027
- return writer;
1028
- }
1029
- GetUiFocusRequest.encode = encode;
1030
- function decode(input, length) {
1031
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
1032
- let end = length === undefined ? reader.len : reader.pos + length;
1033
- const message = createBaseGetUiFocusRequest();
1034
- while (reader.pos < end) {
1035
- const tag = reader.uint32();
1036
- switch (tag >>> 3) {
1037
- }
1038
- if ((tag & 7) === 4 || tag === 0) {
1039
- break;
1040
- }
1041
- reader.skipType(tag & 7);
1042
- }
1043
- return message;
1044
- }
1045
- GetUiFocusRequest.decode = decode;
1046
- function fromJSON(_) {
1047
- return {};
1048
- }
1049
- GetUiFocusRequest.fromJSON = fromJSON;
1050
- function toJSON(_) {
1051
- const obj = {};
1052
- return obj;
1053
- }
1054
- GetUiFocusRequest.toJSON = toJSON;
1055
- function create(base) {
1056
- return GetUiFocusRequest.fromPartial(base !== null && base !== void 0 ? base : {});
1057
- }
1058
- GetUiFocusRequest.create = create;
1059
- function fromPartial(_) {
1060
- const message = createBaseGetUiFocusRequest();
1061
- return message;
1062
- }
1063
- GetUiFocusRequest.fromPartial = fromPartial;
1064
- })(GetUiFocusRequest || (exports.GetUiFocusRequest = GetUiFocusRequest = {}));
1065
- function createBaseUiFocusResponse() {
1066
- return { elementId: undefined };
1067
- }
1068
- var UiFocusResponse;
1069
- (function (UiFocusResponse) {
1070
- function encode(message, writer = minimal_1.default.Writer.create()) {
1071
- if (message.elementId !== undefined) {
1072
- writer.uint32(10).string(message.elementId);
1073
- }
1074
- return writer;
1075
- }
1076
- UiFocusResponse.encode = encode;
1077
- function decode(input, length) {
1078
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
1079
- let end = length === undefined ? reader.len : reader.pos + length;
1080
- const message = createBaseUiFocusResponse();
1081
- while (reader.pos < end) {
1082
- const tag = reader.uint32();
1083
- switch (tag >>> 3) {
1084
- case 1:
1085
- if (tag !== 10) {
1086
- break;
1087
- }
1088
- message.elementId = reader.string();
1089
- continue;
1090
- }
1091
- if ((tag & 7) === 4 || tag === 0) {
1092
- break;
1093
- }
1094
- reader.skipType(tag & 7);
1095
- }
1096
- return message;
1097
- }
1098
- UiFocusResponse.decode = decode;
1099
- function fromJSON(object) {
1100
- return { elementId: isSet(object.elementId) ? String(object.elementId) : undefined };
1101
- }
1102
- UiFocusResponse.fromJSON = fromJSON;
1103
- function toJSON(message) {
1104
- const obj = {};
1105
- message.elementId !== undefined && (obj.elementId = message.elementId);
1106
- return obj;
1107
- }
1108
- UiFocusResponse.toJSON = toJSON;
1109
- function create(base) {
1110
- return UiFocusResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1111
- }
1112
- UiFocusResponse.create = create;
1113
- function fromPartial(object) {
1114
- var _a;
1115
- const message = createBaseUiFocusResponse();
1116
- message.elementId = (_a = object.elementId) !== null && _a !== void 0 ? _a : undefined;
1117
- return message;
1118
- }
1119
- UiFocusResponse.fromPartial = fromPartial;
1120
- })(UiFocusResponse || (exports.UiFocusResponse = UiFocusResponse = {}));
1121
780
  function createBaseCopyToClipboardRequest() {
1122
781
  return { text: "" };
1123
782
  }
@@ -1235,20 +894,6 @@ exports.RestrictedActionsServiceDefinition = {
1235
894
  responseStream: false,
1236
895
  options: {},
1237
896
  },
1238
- /**
1239
- * WalkPlayerTo will walk the player to a position relative to the current scene,
1240
- * managed by the movement controller scene. Returns success when the player reaches
1241
- * within stop_threshold distance, or false if the path is blocked, the player gets
1242
- * stuck, the player interrupts the walk with manual input, or the optional timeout expires.
1243
- */
1244
- walkPlayerTo: {
1245
- name: "WalkPlayerTo",
1246
- requestType: WalkPlayerToRequest,
1247
- requestStream: false,
1248
- responseType: WalkPlayerToResponse,
1249
- responseStream: false,
1250
- options: {},
1251
- },
1252
897
  /** TeleportTo will move the user to the specified world LAND parcel coordinates */
1253
898
  teleportTo: {
1254
899
  name: "TeleportTo",
@@ -1315,33 +960,6 @@ exports.RestrictedActionsServiceDefinition = {
1315
960
  responseStream: false,
1316
961
  options: {},
1317
962
  },
1318
- /** Sets the focus to a specific UI element */
1319
- setUiFocus: {
1320
- name: "SetUiFocus",
1321
- requestType: SetUiFocusRequest,
1322
- requestStream: false,
1323
- responseType: UiFocusResponse,
1324
- responseStream: false,
1325
- options: {},
1326
- },
1327
- /** Clears the focus from any currently focused textentry or dropdown */
1328
- clearUiFocus: {
1329
- name: "ClearUiFocus",
1330
- requestType: SetUiFocusRequest,
1331
- requestStream: false,
1332
- responseType: UiFocusResponse,
1333
- responseStream: false,
1334
- options: {},
1335
- },
1336
- /** Returns the element_id of any currently focused textentry or dropdown */
1337
- getUiFocus: {
1338
- name: "GetUiFocus",
1339
- requestType: GetUiFocusRequest,
1340
- requestStream: false,
1341
- responseType: UiFocusResponse,
1342
- responseStream: false,
1343
- options: {},
1344
- },
1345
963
  /** CopyToClipboard copies the provided text into the clipboard */
1346
964
  copyToClipboard: {
1347
965
  name: "CopyToClipboard",