@dcl/protocol 1.0.0-25751414897.commit-a9f7d81 → 1.0.0-25825802864.commit-1efee00

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 (128) 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 +21 -109
  8. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +85 -388
  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 +73 -0
  11. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +463 -9
  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 +8 -2
  20. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +36 -20
  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 +1 -3
  26. package/out-js/decentraland/sdk/components/common/input_action.gen.js +1 -18
  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 -4
  44. package/out-js/decentraland/sdk/components/ui_input.gen.js +1 -27
  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 +87 -411
  55. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +542 -2
  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 +35 -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 +1 -18
  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 -37
  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 +4 -7
  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 +8 -39
  73. package/proto/decentraland/kernel/comms/rfc4/comms.proto +36 -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_locomotion_settings.proto +3 -0
  77. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +0 -21
  78. package/proto/decentraland/sdk/components/avatar_shape.proto +5 -1
  79. package/proto/decentraland/sdk/components/camera_mode_area.proto +3 -22
  80. package/proto/decentraland/sdk/components/common/input_action.proto +1 -3
  81. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +0 -13
  82. package/proto/decentraland/sdk/components/light_source.proto +1 -1
  83. package/proto/decentraland/sdk/components/material.proto +1 -13
  84. package/proto/decentraland/sdk/components/mesh_collider.proto +0 -7
  85. package/proto/decentraland/sdk/components/mesh_renderer.proto +3 -8
  86. package/proto/decentraland/sdk/components/particle_system.proto +5 -1
  87. package/proto/decentraland/sdk/components/primary_pointer_info.proto +0 -5
  88. package/proto/decentraland/sdk/components/raycast.proto +0 -13
  89. package/proto/decentraland/sdk/components/ui_canvas_information.proto +0 -6
  90. package/proto/decentraland/sdk/components/ui_input.proto +0 -2
  91. package/proto/decentraland/sdk/components/ui_text.proto +0 -3
  92. package/proto/decentraland/sdk/components/ui_transform.proto +0 -20
  93. package/proto/decentraland/sdk/components/virtual_camera.proto +2 -0
  94. package/public/sdk-components.proto +0 -4
  95. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +0 -45
  96. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -138
  97. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +0 -1
  98. package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +0 -36
  99. package/out-js/decentraland/sdk/components/avatar_movement.gen.js +0 -113
  100. package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +0 -1
  101. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +0 -48
  102. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +0 -207
  103. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +0 -1
  104. package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +0 -66
  105. package/out-js/decentraland/sdk/components/gltf_node.gen.js +0 -69
  106. package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +0 -1
  107. package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +0 -43
  108. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +0 -122
  109. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +0 -1
  110. package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +0 -52
  111. package/out-js/decentraland/sdk/components/input_modifier.gen.js +0 -233
  112. package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +0 -1
  113. package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +0 -183
  114. package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +0 -136
  115. package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +0 -249
  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/proto/decentraland/sdk/components/avatar_movement.proto +0 -46
  120. package/proto/decentraland/sdk/components/avatar_movement_info.proto +0 -22
  121. package/proto/decentraland/sdk/components/camera_layer.proto +0 -30
  122. package/proto/decentraland/sdk/components/camera_layers.proto +0 -11
  123. package/proto/decentraland/sdk/components/global_light.proto +0 -22
  124. package/proto/decentraland/sdk/components/gltf_node.proto +0 -42
  125. package/proto/decentraland/sdk/components/gltf_node_state.proto +0 -20
  126. package/proto/decentraland/sdk/components/texture_camera.proto +0 -46
  127. package/proto/decentraland/sdk/components/ui_canvas.proto +0 -16
  128. package/proto/decentraland/sdk/components/ui_scroll_result.proto +0 -12
@@ -13,6 +13,7 @@ export interface TeleportToRequest {
13
13
  }
14
14
  export interface TriggerEmoteRequest {
15
15
  predefinedEmote: string;
16
+ mask?: number | undefined;
16
17
  }
17
18
  export interface ChangeRealmRequest {
18
19
  realm: string;
@@ -32,6 +33,7 @@ export interface CommsAdapterRequest {
32
33
  export interface TriggerSceneEmoteRequest {
33
34
  src: string;
34
35
  loop?: boolean | undefined;
36
+ mask?: number | undefined;
35
37
  }
36
38
  export interface SuccessResponse {
37
39
  success: boolean;
@@ -41,33 +43,15 @@ export interface TriggerEmoteResponse {
41
43
  export interface MovePlayerToResponse {
42
44
  success: boolean;
43
45
  }
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
46
  export interface TeleportToResponse {
54
47
  }
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
48
  export interface CopyToClipboardRequest {
67
49
  text: string;
68
50
  }
69
51
  export interface EmptyResponse {
70
52
  }
53
+ export interface StopEmoteRequest {
54
+ }
71
55
  export declare namespace MovePlayerToRequest {
72
56
  function encode(message: MovePlayerToRequest, writer?: _m0.Writer): _m0.Writer;
73
57
  function decode(input: _m0.Reader | Uint8Array, length?: number): MovePlayerToRequest;
@@ -164,22 +148,6 @@ export declare namespace MovePlayerToResponse {
164
148
  function create<I extends Exact<DeepPartial<MovePlayerToResponse>, I>>(base?: I): MovePlayerToResponse;
165
149
  function fromPartial<I extends Exact<DeepPartial<MovePlayerToResponse>, I>>(object: I): MovePlayerToResponse;
166
150
  }
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
151
  export declare namespace TeleportToResponse {
184
152
  function encode(_: TeleportToResponse, writer?: _m0.Writer): _m0.Writer;
185
153
  function decode(input: _m0.Reader | Uint8Array, length?: number): TeleportToResponse;
@@ -188,38 +156,6 @@ export declare namespace TeleportToResponse {
188
156
  function create<I extends Exact<DeepPartial<TeleportToResponse>, I>>(base?: I): TeleportToResponse;
189
157
  function fromPartial<I extends Exact<DeepPartial<TeleportToResponse>, I>>(_: I): TeleportToResponse;
190
158
  }
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
159
  export declare namespace CopyToClipboardRequest {
224
160
  function encode(message: CopyToClipboardRequest, writer?: _m0.Writer): _m0.Writer;
225
161
  function decode(input: _m0.Reader | Uint8Array, length?: number): CopyToClipboardRequest;
@@ -236,6 +172,14 @@ export declare namespace EmptyResponse {
236
172
  function create<I extends Exact<DeepPartial<EmptyResponse>, I>>(base?: I): EmptyResponse;
237
173
  function fromPartial<I extends Exact<DeepPartial<EmptyResponse>, I>>(_: I): EmptyResponse;
238
174
  }
175
+ export declare namespace StopEmoteRequest {
176
+ function encode(_: StopEmoteRequest, writer?: _m0.Writer): _m0.Writer;
177
+ function decode(input: _m0.Reader | Uint8Array, length?: number): StopEmoteRequest;
178
+ function fromJSON(_: any): StopEmoteRequest;
179
+ function toJSON(_: StopEmoteRequest): unknown;
180
+ function create<I extends Exact<DeepPartial<StopEmoteRequest>, I>>(base?: I): StopEmoteRequest;
181
+ function fromPartial<I extends Exact<DeepPartial<StopEmoteRequest>, I>>(_: I): StopEmoteRequest;
182
+ }
239
183
  export type RestrictedActionsServiceDefinition = typeof RestrictedActionsServiceDefinition;
240
184
  export declare const RestrictedActionsServiceDefinition: {
241
185
  readonly name: "RestrictedActionsService";
@@ -254,20 +198,6 @@ export declare const RestrictedActionsServiceDefinition: {
254
198
  readonly responseStream: false;
255
199
  readonly options: {};
256
200
  };
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
201
  /** TeleportTo will move the user to the specified world LAND parcel coordinates */
272
202
  readonly teleportTo: {
273
203
  readonly name: "TeleportTo";
@@ -334,33 +264,6 @@ export declare const RestrictedActionsServiceDefinition: {
334
264
  readonly responseStream: false;
335
265
  readonly options: {};
336
266
  };
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
267
  /** CopyToClipboard copies the provided text into the clipboard */
365
268
  readonly copyToClipboard: {
366
269
  readonly name: "CopyToClipboard";
@@ -370,6 +273,15 @@ export declare const RestrictedActionsServiceDefinition: {
370
273
  readonly responseStream: false;
371
274
  readonly options: {};
372
275
  };
276
+ /** StopEmote will stop the current emote */
277
+ readonly stopEmote: {
278
+ readonly name: "StopEmote";
279
+ readonly requestType: typeof StopEmoteRequest;
280
+ readonly requestStream: false;
281
+ readonly responseType: typeof SuccessResponse;
282
+ readonly responseStream: false;
283
+ readonly options: {};
284
+ };
373
285
  };
374
286
  };
375
287
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;