@dcl/protocol 1.0.0-22309437617.commit-6617cff → 1.0.0-22560904528.commit-203bb4a

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 (122) 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 -70
  5. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1 -228
  6. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
  7. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +46 -0
  8. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +315 -12
  9. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
  10. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +0 -2
  11. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +2 -19
  12. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -1
  13. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +0 -41
  14. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +3 -241
  15. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
  16. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +0 -2
  17. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +1 -19
  18. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
  19. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +1 -35
  20. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +3 -172
  21. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
  22. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +9 -3
  23. package/out-js/decentraland/sdk/components/common/input_action.gen.js +44 -17
  24. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
  25. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +0 -19
  26. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +3 -90
  27. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
  28. package/out-js/decentraland/sdk/components/material.gen.d.ts +0 -20
  29. package/out-js/decentraland/sdk/components/material.gen.js +2 -86
  30. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
  31. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +0 -18
  32. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +4 -90
  33. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
  34. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +3 -19
  35. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +4 -90
  36. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
  37. package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +5 -1
  38. package/out-js/decentraland/sdk/components/pointer_events.gen.js +31 -3
  39. package/out-js/decentraland/sdk/components/pointer_events.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/tween.gen.d.ts +36 -0
  44. package/out-js/decentraland/sdk/components/tween.gen.js +302 -6
  45. package/out-js/decentraland/sdk/components/tween.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-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +0 -3
  53. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +2 -40
  54. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -1
  55. package/out-ts/decentraland/common/texture.gen.ts +4 -119
  56. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +0 -242
  57. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +375 -3
  58. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +1 -20
  59. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +1 -292
  60. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +1 -23
  61. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +2 -218
  62. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +43 -16
  63. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +2 -108
  64. package/out-ts/decentraland/sdk/components/material.gen.ts +1 -102
  65. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +0 -99
  66. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +3 -100
  67. package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +44 -3
  68. package/out-ts/decentraland/sdk/components/raycast.gen.ts +1 -73
  69. package/out-ts/decentraland/sdk/components/tween.gen.ts +333 -0
  70. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +1 -40
  71. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +0 -193
  72. package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +2 -44
  73. package/package.json +4 -7
  74. package/proto/decentraland/common/texture.proto +1 -8
  75. package/proto/decentraland/kernel/apis/restricted_actions.proto +0 -22
  76. package/proto/decentraland/kernel/comms/rfc4/comms.proto +29 -0
  77. package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
  78. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +1 -2
  79. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +0 -21
  80. package/proto/decentraland/sdk/components/avatar_shape.proto +0 -1
  81. package/proto/decentraland/sdk/components/camera_mode_area.proto +3 -22
  82. package/proto/decentraland/sdk/components/common/input_action.proto +7 -3
  83. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +0 -13
  84. package/proto/decentraland/sdk/components/light_source.proto +1 -1
  85. package/proto/decentraland/sdk/components/material.proto +1 -13
  86. package/proto/decentraland/sdk/components/mesh_collider.proto +0 -7
  87. package/proto/decentraland/sdk/components/mesh_renderer.proto +3 -8
  88. package/proto/decentraland/sdk/components/pointer_events.proto +2 -0
  89. package/proto/decentraland/sdk/components/primary_pointer_info.proto +0 -5
  90. package/proto/decentraland/sdk/components/raycast.proto +0 -13
  91. package/proto/decentraland/sdk/components/tween.proto +18 -0
  92. package/proto/decentraland/sdk/components/ui_text.proto +0 -3
  93. package/proto/decentraland/sdk/components/ui_transform.proto +0 -20
  94. package/proto/decentraland/sdk/components/virtual_camera.proto +2 -0
  95. package/proto/decentraland/social_service/v2/social_service_v2.proto +0 -3
  96. package/public/sdk-components.proto +0 -4
  97. package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +0 -34
  98. package/out-js/decentraland/sdk/components/avatar_movement.gen.js +0 -101
  99. package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +0 -1
  100. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +0 -40
  101. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +0 -135
  102. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +0 -1
  103. package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +0 -66
  104. package/out-js/decentraland/sdk/components/gltf_node.gen.js +0 -69
  105. package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +0 -1
  106. package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +0 -43
  107. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +0 -122
  108. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +0 -1
  109. package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +0 -119
  110. package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +0 -163
  111. package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +0 -116
  112. package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +0 -139
  113. package/proto/decentraland/sdk/components/avatar_movement.proto +0 -45
  114. package/proto/decentraland/sdk/components/avatar_movement_info.proto +0 -16
  115. package/proto/decentraland/sdk/components/camera_layer.proto +0 -30
  116. package/proto/decentraland/sdk/components/camera_layers.proto +0 -11
  117. package/proto/decentraland/sdk/components/global_light.proto +0 -22
  118. package/proto/decentraland/sdk/components/gltf_node.proto +0 -42
  119. package/proto/decentraland/sdk/components/gltf_node_state.proto +0 -20
  120. package/proto/decentraland/sdk/components/texture_camera.proto +0 -46
  121. package/proto/decentraland/sdk/components/ui_canvas.proto +0 -16
  122. package/proto/decentraland/sdk/components/ui_scroll_result.proto +0 -12
@@ -75,6 +75,12 @@ export interface PBTween {
75
75
  } | {
76
76
  $case: "textureMoveContinuous";
77
77
  textureMoveContinuous: TextureMoveContinuous;
78
+ } | {
79
+ $case: "moveRotateScale";
80
+ moveRotateScale: MoveRotateScale;
81
+ } | {
82
+ $case: "moveRotateScaleContinuous";
83
+ moveRotateScaleContinuous: MoveRotateScaleContinuous;
78
84
  } | undefined;
79
85
  /** default true (pause or running) */
80
86
  playing?: boolean | undefined;
@@ -94,6 +100,14 @@ export interface Scale {
94
100
  start: Vector3 | undefined;
95
101
  end: Vector3 | undefined;
96
102
  }
103
+ export interface MoveRotateScale {
104
+ positionStart: Vector3 | undefined;
105
+ positionEnd: Vector3 | undefined;
106
+ rotationStart: Quaternion | undefined;
107
+ rotationEnd: Quaternion | undefined;
108
+ scaleStart: Vector3 | undefined;
109
+ scaleEnd: Vector3 | undefined;
110
+ }
97
111
  /**
98
112
  * This tween mode allows to move the texture of a PbrMaterial or UnlitMaterial.
99
113
  * You can also specify the movement type (offset or tiling)
@@ -112,6 +126,12 @@ export interface MoveContinuous {
112
126
  direction: Vector3 | undefined;
113
127
  speed: number;
114
128
  }
129
+ export interface MoveRotateScaleContinuous {
130
+ positionDirection: Vector3 | undefined;
131
+ rotationDirection: Quaternion | undefined;
132
+ scaleDirection: Vector3 | undefined;
133
+ speed: number;
134
+ }
115
135
  export interface TextureMoveContinuous {
116
136
  direction: Vector2 | undefined;
117
137
  speed: number;
@@ -150,6 +170,14 @@ export declare namespace Scale {
150
170
  function create<I extends Exact<DeepPartial<Scale>, I>>(base?: I): Scale;
151
171
  function fromPartial<I extends Exact<DeepPartial<Scale>, I>>(object: I): Scale;
152
172
  }
173
+ export declare namespace MoveRotateScale {
174
+ function encode(message: MoveRotateScale, writer?: _m0.Writer): _m0.Writer;
175
+ function decode(input: _m0.Reader | Uint8Array, length?: number): MoveRotateScale;
176
+ function fromJSON(object: any): MoveRotateScale;
177
+ function toJSON(message: MoveRotateScale): unknown;
178
+ function create<I extends Exact<DeepPartial<MoveRotateScale>, I>>(base?: I): MoveRotateScale;
179
+ function fromPartial<I extends Exact<DeepPartial<MoveRotateScale>, I>>(object: I): MoveRotateScale;
180
+ }
153
181
  export declare namespace TextureMove {
154
182
  function encode(message: TextureMove, writer?: _m0.Writer): _m0.Writer;
155
183
  function decode(input: _m0.Reader | Uint8Array, length?: number): TextureMove;
@@ -174,6 +202,14 @@ export declare namespace MoveContinuous {
174
202
  function create<I extends Exact<DeepPartial<MoveContinuous>, I>>(base?: I): MoveContinuous;
175
203
  function fromPartial<I extends Exact<DeepPartial<MoveContinuous>, I>>(object: I): MoveContinuous;
176
204
  }
205
+ export declare namespace MoveRotateScaleContinuous {
206
+ function encode(message: MoveRotateScaleContinuous, writer?: _m0.Writer): _m0.Writer;
207
+ function decode(input: _m0.Reader | Uint8Array, length?: number): MoveRotateScaleContinuous;
208
+ function fromJSON(object: any): MoveRotateScaleContinuous;
209
+ function toJSON(message: MoveRotateScaleContinuous): unknown;
210
+ function create<I extends Exact<DeepPartial<MoveRotateScaleContinuous>, I>>(base?: I): MoveRotateScaleContinuous;
211
+ function fromPartial<I extends Exact<DeepPartial<MoveRotateScaleContinuous>, I>>(object: I): MoveRotateScaleContinuous;
212
+ }
177
213
  export declare namespace TextureMoveContinuous {
178
214
  function encode(message: TextureMoveContinuous, writer?: _m0.Writer): _m0.Writer;
179
215
  function decode(input: _m0.Reader | Uint8Array, length?: number): TextureMoveContinuous;
@@ -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.TextureMoveContinuous = exports.MoveContinuous = exports.RotateContinuous = exports.TextureMove = exports.Scale = exports.Rotate = exports.Move = exports.PBTween = exports.EasingFunction = exports.TextureMovementType = exports.protobufPackage = void 0;
6
+ exports.TextureMoveContinuous = exports.MoveRotateScaleContinuous = exports.MoveContinuous = exports.RotateContinuous = exports.TextureMove = exports.MoveRotateScale = exports.Scale = exports.Rotate = exports.Move = exports.PBTween = exports.EasingFunction = exports.TextureMovementType = exports.protobufPackage = void 0;
7
7
  exports.textureMovementTypeFromJSON = textureMovementTypeFromJSON;
8
8
  exports.textureMovementTypeToJSON = textureMovementTypeToJSON;
9
9
  exports.easingFunctionFromJSON = easingFunctionFromJSON;
@@ -289,6 +289,12 @@ var PBTween;
289
289
  case "textureMoveContinuous":
290
290
  TextureMoveContinuous.encode(message.mode.textureMoveContinuous, writer.uint32(90).fork()).ldelim();
291
291
  break;
292
+ case "moveRotateScale":
293
+ MoveRotateScale.encode(message.mode.moveRotateScale, writer.uint32(98).fork()).ldelim();
294
+ break;
295
+ case "moveRotateScaleContinuous":
296
+ MoveRotateScaleContinuous.encode(message.mode.moveRotateScaleContinuous, writer.uint32(106).fork()).ldelim();
297
+ break;
292
298
  }
293
299
  if (message.playing !== undefined) {
294
300
  writer.uint32(48).bool(message.playing);
@@ -366,6 +372,21 @@ var PBTween;
366
372
  textureMoveContinuous: TextureMoveContinuous.decode(reader, reader.uint32()),
367
373
  };
368
374
  continue;
375
+ case 12:
376
+ if (tag !== 98) {
377
+ break;
378
+ }
379
+ message.mode = { $case: "moveRotateScale", moveRotateScale: MoveRotateScale.decode(reader, reader.uint32()) };
380
+ continue;
381
+ case 13:
382
+ if (tag !== 106) {
383
+ break;
384
+ }
385
+ message.mode = {
386
+ $case: "moveRotateScaleContinuous",
387
+ moveRotateScaleContinuous: MoveRotateScaleContinuous.decode(reader, reader.uint32()),
388
+ };
389
+ continue;
369
390
  case 6:
370
391
  if (tag !== 48) {
371
392
  break;
@@ -408,14 +429,21 @@ var PBTween;
408
429
  $case: "textureMoveContinuous",
409
430
  textureMoveContinuous: TextureMoveContinuous.fromJSON(object.textureMoveContinuous),
410
431
  }
411
- : undefined,
432
+ : isSet(object.moveRotateScale)
433
+ ? { $case: "moveRotateScale", moveRotateScale: MoveRotateScale.fromJSON(object.moveRotateScale) }
434
+ : isSet(object.moveRotateScaleContinuous)
435
+ ? {
436
+ $case: "moveRotateScaleContinuous",
437
+ moveRotateScaleContinuous: MoveRotateScaleContinuous.fromJSON(object.moveRotateScaleContinuous),
438
+ }
439
+ : undefined,
412
440
  playing: isSet(object.playing) ? Boolean(object.playing) : undefined,
413
441
  currentTime: isSet(object.currentTime) ? Number(object.currentTime) : undefined,
414
442
  };
415
443
  }
416
444
  PBTween.fromJSON = fromJSON;
417
445
  function toJSON(message) {
418
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
446
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2;
419
447
  const obj = {};
420
448
  message.duration !== undefined && (obj.duration = message.duration);
421
449
  message.easingFunction !== undefined && (obj.easingFunction = easingFunctionToJSON(message.easingFunction));
@@ -438,6 +466,14 @@ var PBTween;
438
466
  (obj.textureMoveContinuous = ((_v = message.mode) === null || _v === void 0 ? void 0 : _v.textureMoveContinuous)
439
467
  ? TextureMoveContinuous.toJSON((_w = message.mode) === null || _w === void 0 ? void 0 : _w.textureMoveContinuous)
440
468
  : undefined);
469
+ ((_x = message.mode) === null || _x === void 0 ? void 0 : _x.$case) === "moveRotateScale" &&
470
+ (obj.moveRotateScale = ((_y = message.mode) === null || _y === void 0 ? void 0 : _y.moveRotateScale)
471
+ ? MoveRotateScale.toJSON((_z = message.mode) === null || _z === void 0 ? void 0 : _z.moveRotateScale)
472
+ : undefined);
473
+ ((_0 = message.mode) === null || _0 === void 0 ? void 0 : _0.$case) === "moveRotateScaleContinuous" &&
474
+ (obj.moveRotateScaleContinuous = ((_1 = message.mode) === null || _1 === void 0 ? void 0 : _1.moveRotateScaleContinuous)
475
+ ? MoveRotateScaleContinuous.toJSON((_2 = message.mode) === null || _2 === void 0 ? void 0 : _2.moveRotateScaleContinuous)
476
+ : undefined);
441
477
  message.playing !== undefined && (obj.playing = message.playing);
442
478
  message.currentTime !== undefined && (obj.currentTime = message.currentTime);
443
479
  return obj;
@@ -448,7 +484,7 @@ var PBTween;
448
484
  }
449
485
  PBTween.create = create;
450
486
  function fromPartial(object) {
451
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
487
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6;
452
488
  const message = createBasePBTween();
453
489
  message.duration = (_a = object.duration) !== null && _a !== void 0 ? _a : 0;
454
490
  message.easingFunction = (_b = object.easingFunction) !== null && _b !== void 0 ? _b : 0;
@@ -490,8 +526,24 @@ var PBTween;
490
526
  textureMoveContinuous: TextureMoveContinuous.fromPartial(object.mode.textureMoveContinuous),
491
527
  };
492
528
  }
493
- message.playing = (_z = object.playing) !== null && _z !== void 0 ? _z : undefined;
494
- message.currentTime = (_0 = object.currentTime) !== null && _0 !== void 0 ? _0 : undefined;
529
+ if (((_z = object.mode) === null || _z === void 0 ? void 0 : _z.$case) === "moveRotateScale" &&
530
+ ((_0 = object.mode) === null || _0 === void 0 ? void 0 : _0.moveRotateScale) !== undefined &&
531
+ ((_1 = object.mode) === null || _1 === void 0 ? void 0 : _1.moveRotateScale) !== null) {
532
+ message.mode = {
533
+ $case: "moveRotateScale",
534
+ moveRotateScale: MoveRotateScale.fromPartial(object.mode.moveRotateScale),
535
+ };
536
+ }
537
+ if (((_2 = object.mode) === null || _2 === void 0 ? void 0 : _2.$case) === "moveRotateScaleContinuous" &&
538
+ ((_3 = object.mode) === null || _3 === void 0 ? void 0 : _3.moveRotateScaleContinuous) !== undefined &&
539
+ ((_4 = object.mode) === null || _4 === void 0 ? void 0 : _4.moveRotateScaleContinuous) !== null) {
540
+ message.mode = {
541
+ $case: "moveRotateScaleContinuous",
542
+ moveRotateScaleContinuous: MoveRotateScaleContinuous.fromPartial(object.mode.moveRotateScaleContinuous),
543
+ };
544
+ }
545
+ message.playing = (_5 = object.playing) !== null && _5 !== void 0 ? _5 : undefined;
546
+ message.currentTime = (_6 = object.currentTime) !== null && _6 !== void 0 ? _6 : undefined;
495
547
  return message;
496
548
  }
497
549
  PBTween.fromPartial = fromPartial;
@@ -722,6 +774,147 @@ var Scale;
722
774
  }
723
775
  Scale.fromPartial = fromPartial;
724
776
  })(Scale || (exports.Scale = Scale = {}));
777
+ function createBaseMoveRotateScale() {
778
+ return {
779
+ positionStart: undefined,
780
+ positionEnd: undefined,
781
+ rotationStart: undefined,
782
+ rotationEnd: undefined,
783
+ scaleStart: undefined,
784
+ scaleEnd: undefined,
785
+ };
786
+ }
787
+ var MoveRotateScale;
788
+ (function (MoveRotateScale) {
789
+ function encode(message, writer = minimal_1.default.Writer.create()) {
790
+ if (message.positionStart !== undefined) {
791
+ vectors_gen_1.Vector3.encode(message.positionStart, writer.uint32(10).fork()).ldelim();
792
+ }
793
+ if (message.positionEnd !== undefined) {
794
+ vectors_gen_1.Vector3.encode(message.positionEnd, writer.uint32(18).fork()).ldelim();
795
+ }
796
+ if (message.rotationStart !== undefined) {
797
+ vectors_gen_1.Quaternion.encode(message.rotationStart, writer.uint32(26).fork()).ldelim();
798
+ }
799
+ if (message.rotationEnd !== undefined) {
800
+ vectors_gen_1.Quaternion.encode(message.rotationEnd, writer.uint32(34).fork()).ldelim();
801
+ }
802
+ if (message.scaleStart !== undefined) {
803
+ vectors_gen_1.Vector3.encode(message.scaleStart, writer.uint32(42).fork()).ldelim();
804
+ }
805
+ if (message.scaleEnd !== undefined) {
806
+ vectors_gen_1.Vector3.encode(message.scaleEnd, writer.uint32(50).fork()).ldelim();
807
+ }
808
+ return writer;
809
+ }
810
+ MoveRotateScale.encode = encode;
811
+ function decode(input, length) {
812
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
813
+ let end = length === undefined ? reader.len : reader.pos + length;
814
+ const message = createBaseMoveRotateScale();
815
+ while (reader.pos < end) {
816
+ const tag = reader.uint32();
817
+ switch (tag >>> 3) {
818
+ case 1:
819
+ if (tag !== 10) {
820
+ break;
821
+ }
822
+ message.positionStart = vectors_gen_1.Vector3.decode(reader, reader.uint32());
823
+ continue;
824
+ case 2:
825
+ if (tag !== 18) {
826
+ break;
827
+ }
828
+ message.positionEnd = vectors_gen_1.Vector3.decode(reader, reader.uint32());
829
+ continue;
830
+ case 3:
831
+ if (tag !== 26) {
832
+ break;
833
+ }
834
+ message.rotationStart = vectors_gen_1.Quaternion.decode(reader, reader.uint32());
835
+ continue;
836
+ case 4:
837
+ if (tag !== 34) {
838
+ break;
839
+ }
840
+ message.rotationEnd = vectors_gen_1.Quaternion.decode(reader, reader.uint32());
841
+ continue;
842
+ case 5:
843
+ if (tag !== 42) {
844
+ break;
845
+ }
846
+ message.scaleStart = vectors_gen_1.Vector3.decode(reader, reader.uint32());
847
+ continue;
848
+ case 6:
849
+ if (tag !== 50) {
850
+ break;
851
+ }
852
+ message.scaleEnd = vectors_gen_1.Vector3.decode(reader, reader.uint32());
853
+ continue;
854
+ }
855
+ if ((tag & 7) === 4 || tag === 0) {
856
+ break;
857
+ }
858
+ reader.skipType(tag & 7);
859
+ }
860
+ return message;
861
+ }
862
+ MoveRotateScale.decode = decode;
863
+ function fromJSON(object) {
864
+ return {
865
+ positionStart: isSet(object.positionStart) ? vectors_gen_1.Vector3.fromJSON(object.positionStart) : undefined,
866
+ positionEnd: isSet(object.positionEnd) ? vectors_gen_1.Vector3.fromJSON(object.positionEnd) : undefined,
867
+ rotationStart: isSet(object.rotationStart) ? vectors_gen_1.Quaternion.fromJSON(object.rotationStart) : undefined,
868
+ rotationEnd: isSet(object.rotationEnd) ? vectors_gen_1.Quaternion.fromJSON(object.rotationEnd) : undefined,
869
+ scaleStart: isSet(object.scaleStart) ? vectors_gen_1.Vector3.fromJSON(object.scaleStart) : undefined,
870
+ scaleEnd: isSet(object.scaleEnd) ? vectors_gen_1.Vector3.fromJSON(object.scaleEnd) : undefined,
871
+ };
872
+ }
873
+ MoveRotateScale.fromJSON = fromJSON;
874
+ function toJSON(message) {
875
+ const obj = {};
876
+ message.positionStart !== undefined &&
877
+ (obj.positionStart = message.positionStart ? vectors_gen_1.Vector3.toJSON(message.positionStart) : undefined);
878
+ message.positionEnd !== undefined &&
879
+ (obj.positionEnd = message.positionEnd ? vectors_gen_1.Vector3.toJSON(message.positionEnd) : undefined);
880
+ message.rotationStart !== undefined &&
881
+ (obj.rotationStart = message.rotationStart ? vectors_gen_1.Quaternion.toJSON(message.rotationStart) : undefined);
882
+ message.rotationEnd !== undefined &&
883
+ (obj.rotationEnd = message.rotationEnd ? vectors_gen_1.Quaternion.toJSON(message.rotationEnd) : undefined);
884
+ message.scaleStart !== undefined &&
885
+ (obj.scaleStart = message.scaleStart ? vectors_gen_1.Vector3.toJSON(message.scaleStart) : undefined);
886
+ message.scaleEnd !== undefined && (obj.scaleEnd = message.scaleEnd ? vectors_gen_1.Vector3.toJSON(message.scaleEnd) : undefined);
887
+ return obj;
888
+ }
889
+ MoveRotateScale.toJSON = toJSON;
890
+ function create(base) {
891
+ return MoveRotateScale.fromPartial(base !== null && base !== void 0 ? base : {});
892
+ }
893
+ MoveRotateScale.create = create;
894
+ function fromPartial(object) {
895
+ const message = createBaseMoveRotateScale();
896
+ message.positionStart = (object.positionStart !== undefined && object.positionStart !== null)
897
+ ? vectors_gen_1.Vector3.fromPartial(object.positionStart)
898
+ : undefined;
899
+ message.positionEnd = (object.positionEnd !== undefined && object.positionEnd !== null)
900
+ ? vectors_gen_1.Vector3.fromPartial(object.positionEnd)
901
+ : undefined;
902
+ message.rotationStart = (object.rotationStart !== undefined && object.rotationStart !== null)
903
+ ? vectors_gen_1.Quaternion.fromPartial(object.rotationStart)
904
+ : undefined;
905
+ message.rotationEnd = (object.rotationEnd !== undefined && object.rotationEnd !== null)
906
+ ? vectors_gen_1.Quaternion.fromPartial(object.rotationEnd)
907
+ : undefined;
908
+ message.scaleStart = (object.scaleStart !== undefined && object.scaleStart !== null)
909
+ ? vectors_gen_1.Vector3.fromPartial(object.scaleStart)
910
+ : undefined;
911
+ message.scaleEnd = (object.scaleEnd !== undefined && object.scaleEnd !== null)
912
+ ? vectors_gen_1.Vector3.fromPartial(object.scaleEnd)
913
+ : undefined;
914
+ return message;
915
+ }
916
+ MoveRotateScale.fromPartial = fromPartial;
917
+ })(MoveRotateScale || (exports.MoveRotateScale = MoveRotateScale = {}));
725
918
  function createBaseTextureMove() {
726
919
  return { start: undefined, end: undefined, movementType: undefined };
727
920
  }
@@ -955,6 +1148,109 @@ var MoveContinuous;
955
1148
  }
956
1149
  MoveContinuous.fromPartial = fromPartial;
957
1150
  })(MoveContinuous || (exports.MoveContinuous = MoveContinuous = {}));
1151
+ function createBaseMoveRotateScaleContinuous() {
1152
+ return { positionDirection: undefined, rotationDirection: undefined, scaleDirection: undefined, speed: 0 };
1153
+ }
1154
+ var MoveRotateScaleContinuous;
1155
+ (function (MoveRotateScaleContinuous) {
1156
+ function encode(message, writer = minimal_1.default.Writer.create()) {
1157
+ if (message.positionDirection !== undefined) {
1158
+ vectors_gen_1.Vector3.encode(message.positionDirection, writer.uint32(10).fork()).ldelim();
1159
+ }
1160
+ if (message.rotationDirection !== undefined) {
1161
+ vectors_gen_1.Quaternion.encode(message.rotationDirection, writer.uint32(18).fork()).ldelim();
1162
+ }
1163
+ if (message.scaleDirection !== undefined) {
1164
+ vectors_gen_1.Vector3.encode(message.scaleDirection, writer.uint32(26).fork()).ldelim();
1165
+ }
1166
+ if (message.speed !== 0) {
1167
+ writer.uint32(37).float(message.speed);
1168
+ }
1169
+ return writer;
1170
+ }
1171
+ MoveRotateScaleContinuous.encode = encode;
1172
+ function decode(input, length) {
1173
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
1174
+ let end = length === undefined ? reader.len : reader.pos + length;
1175
+ const message = createBaseMoveRotateScaleContinuous();
1176
+ while (reader.pos < end) {
1177
+ const tag = reader.uint32();
1178
+ switch (tag >>> 3) {
1179
+ case 1:
1180
+ if (tag !== 10) {
1181
+ break;
1182
+ }
1183
+ message.positionDirection = vectors_gen_1.Vector3.decode(reader, reader.uint32());
1184
+ continue;
1185
+ case 2:
1186
+ if (tag !== 18) {
1187
+ break;
1188
+ }
1189
+ message.rotationDirection = vectors_gen_1.Quaternion.decode(reader, reader.uint32());
1190
+ continue;
1191
+ case 3:
1192
+ if (tag !== 26) {
1193
+ break;
1194
+ }
1195
+ message.scaleDirection = vectors_gen_1.Vector3.decode(reader, reader.uint32());
1196
+ continue;
1197
+ case 4:
1198
+ if (tag !== 37) {
1199
+ break;
1200
+ }
1201
+ message.speed = reader.float();
1202
+ continue;
1203
+ }
1204
+ if ((tag & 7) === 4 || tag === 0) {
1205
+ break;
1206
+ }
1207
+ reader.skipType(tag & 7);
1208
+ }
1209
+ return message;
1210
+ }
1211
+ MoveRotateScaleContinuous.decode = decode;
1212
+ function fromJSON(object) {
1213
+ return {
1214
+ positionDirection: isSet(object.positionDirection) ? vectors_gen_1.Vector3.fromJSON(object.positionDirection) : undefined,
1215
+ rotationDirection: isSet(object.rotationDirection) ? vectors_gen_1.Quaternion.fromJSON(object.rotationDirection) : undefined,
1216
+ scaleDirection: isSet(object.scaleDirection) ? vectors_gen_1.Vector3.fromJSON(object.scaleDirection) : undefined,
1217
+ speed: isSet(object.speed) ? Number(object.speed) : 0,
1218
+ };
1219
+ }
1220
+ MoveRotateScaleContinuous.fromJSON = fromJSON;
1221
+ function toJSON(message) {
1222
+ const obj = {};
1223
+ message.positionDirection !== undefined &&
1224
+ (obj.positionDirection = message.positionDirection ? vectors_gen_1.Vector3.toJSON(message.positionDirection) : undefined);
1225
+ message.rotationDirection !== undefined &&
1226
+ (obj.rotationDirection = message.rotationDirection ? vectors_gen_1.Quaternion.toJSON(message.rotationDirection) : undefined);
1227
+ message.scaleDirection !== undefined &&
1228
+ (obj.scaleDirection = message.scaleDirection ? vectors_gen_1.Vector3.toJSON(message.scaleDirection) : undefined);
1229
+ message.speed !== undefined && (obj.speed = message.speed);
1230
+ return obj;
1231
+ }
1232
+ MoveRotateScaleContinuous.toJSON = toJSON;
1233
+ function create(base) {
1234
+ return MoveRotateScaleContinuous.fromPartial(base !== null && base !== void 0 ? base : {});
1235
+ }
1236
+ MoveRotateScaleContinuous.create = create;
1237
+ function fromPartial(object) {
1238
+ var _a;
1239
+ const message = createBaseMoveRotateScaleContinuous();
1240
+ message.positionDirection = (object.positionDirection !== undefined && object.positionDirection !== null)
1241
+ ? vectors_gen_1.Vector3.fromPartial(object.positionDirection)
1242
+ : undefined;
1243
+ message.rotationDirection = (object.rotationDirection !== undefined && object.rotationDirection !== null)
1244
+ ? vectors_gen_1.Quaternion.fromPartial(object.rotationDirection)
1245
+ : undefined;
1246
+ message.scaleDirection = (object.scaleDirection !== undefined && object.scaleDirection !== null)
1247
+ ? vectors_gen_1.Vector3.fromPartial(object.scaleDirection)
1248
+ : undefined;
1249
+ message.speed = (_a = object.speed) !== null && _a !== void 0 ? _a : 0;
1250
+ return message;
1251
+ }
1252
+ MoveRotateScaleContinuous.fromPartial = fromPartial;
1253
+ })(MoveRotateScaleContinuous || (exports.MoveRotateScaleContinuous = MoveRotateScaleContinuous = {}));
958
1254
  function createBaseTextureMoveContinuous() {
959
1255
  return { direction: undefined, speed: 0, movementType: undefined };
960
1256
  }