@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
@@ -262,6 +262,8 @@ export interface PBTween {
262
262
  | { $case: "rotateContinuous"; rotateContinuous: RotateContinuous }
263
263
  | { $case: "moveContinuous"; moveContinuous: MoveContinuous }
264
264
  | { $case: "textureMoveContinuous"; textureMoveContinuous: TextureMoveContinuous }
265
+ | { $case: "moveRotateScale"; moveRotateScale: MoveRotateScale }
266
+ | { $case: "moveRotateScaleContinuous"; moveRotateScaleContinuous: MoveRotateScaleContinuous }
265
267
  | undefined;
266
268
  /** default true (pause or running) */
267
269
  playing?:
@@ -287,6 +289,15 @@ export interface Scale {
287
289
  end: Vector3 | undefined;
288
290
  }
289
291
 
292
+ export interface MoveRotateScale {
293
+ positionStart: Vector3 | undefined;
294
+ positionEnd: Vector3 | undefined;
295
+ rotationStart: Quaternion | undefined;
296
+ rotationEnd: Quaternion | undefined;
297
+ scaleStart: Vector3 | undefined;
298
+ scaleEnd: Vector3 | undefined;
299
+ }
300
+
290
301
  /**
291
302
  * This tween mode allows to move the texture of a PbrMaterial or UnlitMaterial.
292
303
  * You can also specify the movement type (offset or tiling)
@@ -310,6 +321,13 @@ export interface MoveContinuous {
310
321
  speed: number;
311
322
  }
312
323
 
324
+ export interface MoveRotateScaleContinuous {
325
+ positionDirection: Vector3 | undefined;
326
+ rotationDirection: Quaternion | undefined;
327
+ scaleDirection: Vector3 | undefined;
328
+ speed: number;
329
+ }
330
+
313
331
  export interface TextureMoveContinuous {
314
332
  direction: Vector2 | undefined;
315
333
  speed: number;
@@ -351,6 +369,12 @@ export namespace PBTween {
351
369
  case "textureMoveContinuous":
352
370
  TextureMoveContinuous.encode(message.mode.textureMoveContinuous, writer.uint32(90).fork()).ldelim();
353
371
  break;
372
+ case "moveRotateScale":
373
+ MoveRotateScale.encode(message.mode.moveRotateScale, writer.uint32(98).fork()).ldelim();
374
+ break;
375
+ case "moveRotateScaleContinuous":
376
+ MoveRotateScaleContinuous.encode(message.mode.moveRotateScaleContinuous, writer.uint32(106).fork()).ldelim();
377
+ break;
354
378
  }
355
379
  if (message.playing !== undefined) {
356
380
  writer.uint32(48).bool(message.playing);
@@ -437,6 +461,23 @@ export namespace PBTween {
437
461
  textureMoveContinuous: TextureMoveContinuous.decode(reader, reader.uint32()),
438
462
  };
439
463
  continue;
464
+ case 12:
465
+ if (tag !== 98) {
466
+ break;
467
+ }
468
+
469
+ message.mode = { $case: "moveRotateScale", moveRotateScale: MoveRotateScale.decode(reader, reader.uint32()) };
470
+ continue;
471
+ case 13:
472
+ if (tag !== 106) {
473
+ break;
474
+ }
475
+
476
+ message.mode = {
477
+ $case: "moveRotateScaleContinuous",
478
+ moveRotateScaleContinuous: MoveRotateScaleContinuous.decode(reader, reader.uint32()),
479
+ };
480
+ continue;
440
481
  case 6:
441
482
  if (tag !== 48) {
442
483
  break;
@@ -481,6 +522,13 @@ export namespace PBTween {
481
522
  $case: "textureMoveContinuous",
482
523
  textureMoveContinuous: TextureMoveContinuous.fromJSON(object.textureMoveContinuous),
483
524
  }
525
+ : isSet(object.moveRotateScale)
526
+ ? { $case: "moveRotateScale", moveRotateScale: MoveRotateScale.fromJSON(object.moveRotateScale) }
527
+ : isSet(object.moveRotateScaleContinuous)
528
+ ? {
529
+ $case: "moveRotateScaleContinuous",
530
+ moveRotateScaleContinuous: MoveRotateScaleContinuous.fromJSON(object.moveRotateScaleContinuous),
531
+ }
484
532
  : undefined,
485
533
  playing: isSet(object.playing) ? Boolean(object.playing) : undefined,
486
534
  currentTime: isSet(object.currentTime) ? Number(object.currentTime) : undefined,
@@ -510,6 +558,14 @@ export namespace PBTween {
510
558
  (obj.textureMoveContinuous = message.mode?.textureMoveContinuous
511
559
  ? TextureMoveContinuous.toJSON(message.mode?.textureMoveContinuous)
512
560
  : undefined);
561
+ message.mode?.$case === "moveRotateScale" &&
562
+ (obj.moveRotateScale = message.mode?.moveRotateScale
563
+ ? MoveRotateScale.toJSON(message.mode?.moveRotateScale)
564
+ : undefined);
565
+ message.mode?.$case === "moveRotateScaleContinuous" &&
566
+ (obj.moveRotateScaleContinuous = message.mode?.moveRotateScaleContinuous
567
+ ? MoveRotateScaleContinuous.toJSON(message.mode?.moveRotateScaleContinuous)
568
+ : undefined);
513
569
  message.playing !== undefined && (obj.playing = message.playing);
514
570
  message.currentTime !== undefined && (obj.currentTime = message.currentTime);
515
571
  return obj;
@@ -569,6 +625,26 @@ export namespace PBTween {
569
625
  textureMoveContinuous: TextureMoveContinuous.fromPartial(object.mode.textureMoveContinuous),
570
626
  };
571
627
  }
628
+ if (
629
+ object.mode?.$case === "moveRotateScale" &&
630
+ object.mode?.moveRotateScale !== undefined &&
631
+ object.mode?.moveRotateScale !== null
632
+ ) {
633
+ message.mode = {
634
+ $case: "moveRotateScale",
635
+ moveRotateScale: MoveRotateScale.fromPartial(object.mode.moveRotateScale),
636
+ };
637
+ }
638
+ if (
639
+ object.mode?.$case === "moveRotateScaleContinuous" &&
640
+ object.mode?.moveRotateScaleContinuous !== undefined &&
641
+ object.mode?.moveRotateScaleContinuous !== null
642
+ ) {
643
+ message.mode = {
644
+ $case: "moveRotateScaleContinuous",
645
+ moveRotateScaleContinuous: MoveRotateScaleContinuous.fromPartial(object.mode.moveRotateScaleContinuous),
646
+ };
647
+ }
572
648
  message.playing = object.playing ?? undefined;
573
649
  message.currentTime = object.currentTime ?? undefined;
574
650
  return message;
@@ -807,6 +883,153 @@ export namespace Scale {
807
883
  }
808
884
  }
809
885
 
886
+ function createBaseMoveRotateScale(): MoveRotateScale {
887
+ return {
888
+ positionStart: undefined,
889
+ positionEnd: undefined,
890
+ rotationStart: undefined,
891
+ rotationEnd: undefined,
892
+ scaleStart: undefined,
893
+ scaleEnd: undefined,
894
+ };
895
+ }
896
+
897
+ export namespace MoveRotateScale {
898
+ export function encode(message: MoveRotateScale, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
899
+ if (message.positionStart !== undefined) {
900
+ Vector3.encode(message.positionStart, writer.uint32(10).fork()).ldelim();
901
+ }
902
+ if (message.positionEnd !== undefined) {
903
+ Vector3.encode(message.positionEnd, writer.uint32(18).fork()).ldelim();
904
+ }
905
+ if (message.rotationStart !== undefined) {
906
+ Quaternion.encode(message.rotationStart, writer.uint32(26).fork()).ldelim();
907
+ }
908
+ if (message.rotationEnd !== undefined) {
909
+ Quaternion.encode(message.rotationEnd, writer.uint32(34).fork()).ldelim();
910
+ }
911
+ if (message.scaleStart !== undefined) {
912
+ Vector3.encode(message.scaleStart, writer.uint32(42).fork()).ldelim();
913
+ }
914
+ if (message.scaleEnd !== undefined) {
915
+ Vector3.encode(message.scaleEnd, writer.uint32(50).fork()).ldelim();
916
+ }
917
+ return writer;
918
+ }
919
+
920
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveRotateScale {
921
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
922
+ let end = length === undefined ? reader.len : reader.pos + length;
923
+ const message = createBaseMoveRotateScale();
924
+ while (reader.pos < end) {
925
+ const tag = reader.uint32();
926
+ switch (tag >>> 3) {
927
+ case 1:
928
+ if (tag !== 10) {
929
+ break;
930
+ }
931
+
932
+ message.positionStart = Vector3.decode(reader, reader.uint32());
933
+ continue;
934
+ case 2:
935
+ if (tag !== 18) {
936
+ break;
937
+ }
938
+
939
+ message.positionEnd = Vector3.decode(reader, reader.uint32());
940
+ continue;
941
+ case 3:
942
+ if (tag !== 26) {
943
+ break;
944
+ }
945
+
946
+ message.rotationStart = Quaternion.decode(reader, reader.uint32());
947
+ continue;
948
+ case 4:
949
+ if (tag !== 34) {
950
+ break;
951
+ }
952
+
953
+ message.rotationEnd = Quaternion.decode(reader, reader.uint32());
954
+ continue;
955
+ case 5:
956
+ if (tag !== 42) {
957
+ break;
958
+ }
959
+
960
+ message.scaleStart = Vector3.decode(reader, reader.uint32());
961
+ continue;
962
+ case 6:
963
+ if (tag !== 50) {
964
+ break;
965
+ }
966
+
967
+ message.scaleEnd = Vector3.decode(reader, reader.uint32());
968
+ continue;
969
+ }
970
+ if ((tag & 7) === 4 || tag === 0) {
971
+ break;
972
+ }
973
+ reader.skipType(tag & 7);
974
+ }
975
+ return message;
976
+ }
977
+
978
+ export function fromJSON(object: any): MoveRotateScale {
979
+ return {
980
+ positionStart: isSet(object.positionStart) ? Vector3.fromJSON(object.positionStart) : undefined,
981
+ positionEnd: isSet(object.positionEnd) ? Vector3.fromJSON(object.positionEnd) : undefined,
982
+ rotationStart: isSet(object.rotationStart) ? Quaternion.fromJSON(object.rotationStart) : undefined,
983
+ rotationEnd: isSet(object.rotationEnd) ? Quaternion.fromJSON(object.rotationEnd) : undefined,
984
+ scaleStart: isSet(object.scaleStart) ? Vector3.fromJSON(object.scaleStart) : undefined,
985
+ scaleEnd: isSet(object.scaleEnd) ? Vector3.fromJSON(object.scaleEnd) : undefined,
986
+ };
987
+ }
988
+
989
+ export function toJSON(message: MoveRotateScale): unknown {
990
+ const obj: any = {};
991
+ message.positionStart !== undefined &&
992
+ (obj.positionStart = message.positionStart ? Vector3.toJSON(message.positionStart) : undefined);
993
+ message.positionEnd !== undefined &&
994
+ (obj.positionEnd = message.positionEnd ? Vector3.toJSON(message.positionEnd) : undefined);
995
+ message.rotationStart !== undefined &&
996
+ (obj.rotationStart = message.rotationStart ? Quaternion.toJSON(message.rotationStart) : undefined);
997
+ message.rotationEnd !== undefined &&
998
+ (obj.rotationEnd = message.rotationEnd ? Quaternion.toJSON(message.rotationEnd) : undefined);
999
+ message.scaleStart !== undefined &&
1000
+ (obj.scaleStart = message.scaleStart ? Vector3.toJSON(message.scaleStart) : undefined);
1001
+ message.scaleEnd !== undefined && (obj.scaleEnd = message.scaleEnd ? Vector3.toJSON(message.scaleEnd) : undefined);
1002
+ return obj;
1003
+ }
1004
+
1005
+ export function create<I extends Exact<DeepPartial<MoveRotateScale>, I>>(base?: I): MoveRotateScale {
1006
+ return MoveRotateScale.fromPartial(base ?? {});
1007
+ }
1008
+
1009
+ export function fromPartial<I extends Exact<DeepPartial<MoveRotateScale>, I>>(object: I): MoveRotateScale {
1010
+ const message = createBaseMoveRotateScale();
1011
+ message.positionStart = (object.positionStart !== undefined && object.positionStart !== null)
1012
+ ? Vector3.fromPartial(object.positionStart)
1013
+ : undefined;
1014
+ message.positionEnd = (object.positionEnd !== undefined && object.positionEnd !== null)
1015
+ ? Vector3.fromPartial(object.positionEnd)
1016
+ : undefined;
1017
+ message.rotationStart = (object.rotationStart !== undefined && object.rotationStart !== null)
1018
+ ? Quaternion.fromPartial(object.rotationStart)
1019
+ : undefined;
1020
+ message.rotationEnd = (object.rotationEnd !== undefined && object.rotationEnd !== null)
1021
+ ? Quaternion.fromPartial(object.rotationEnd)
1022
+ : undefined;
1023
+ message.scaleStart = (object.scaleStart !== undefined && object.scaleStart !== null)
1024
+ ? Vector3.fromPartial(object.scaleStart)
1025
+ : undefined;
1026
+ message.scaleEnd = (object.scaleEnd !== undefined && object.scaleEnd !== null)
1027
+ ? Vector3.fromPartial(object.scaleEnd)
1028
+ : undefined;
1029
+ return message;
1030
+ }
1031
+ }
1032
+
810
1033
  function createBaseTextureMove(): TextureMove {
811
1034
  return { start: undefined, end: undefined, movementType: undefined };
812
1035
  }
@@ -1044,6 +1267,116 @@ export namespace MoveContinuous {
1044
1267
  }
1045
1268
  }
1046
1269
 
1270
+ function createBaseMoveRotateScaleContinuous(): MoveRotateScaleContinuous {
1271
+ return { positionDirection: undefined, rotationDirection: undefined, scaleDirection: undefined, speed: 0 };
1272
+ }
1273
+
1274
+ export namespace MoveRotateScaleContinuous {
1275
+ export function encode(message: MoveRotateScaleContinuous, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1276
+ if (message.positionDirection !== undefined) {
1277
+ Vector3.encode(message.positionDirection, writer.uint32(10).fork()).ldelim();
1278
+ }
1279
+ if (message.rotationDirection !== undefined) {
1280
+ Quaternion.encode(message.rotationDirection, writer.uint32(18).fork()).ldelim();
1281
+ }
1282
+ if (message.scaleDirection !== undefined) {
1283
+ Vector3.encode(message.scaleDirection, writer.uint32(26).fork()).ldelim();
1284
+ }
1285
+ if (message.speed !== 0) {
1286
+ writer.uint32(37).float(message.speed);
1287
+ }
1288
+ return writer;
1289
+ }
1290
+
1291
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveRotateScaleContinuous {
1292
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1293
+ let end = length === undefined ? reader.len : reader.pos + length;
1294
+ const message = createBaseMoveRotateScaleContinuous();
1295
+ while (reader.pos < end) {
1296
+ const tag = reader.uint32();
1297
+ switch (tag >>> 3) {
1298
+ case 1:
1299
+ if (tag !== 10) {
1300
+ break;
1301
+ }
1302
+
1303
+ message.positionDirection = Vector3.decode(reader, reader.uint32());
1304
+ continue;
1305
+ case 2:
1306
+ if (tag !== 18) {
1307
+ break;
1308
+ }
1309
+
1310
+ message.rotationDirection = Quaternion.decode(reader, reader.uint32());
1311
+ continue;
1312
+ case 3:
1313
+ if (tag !== 26) {
1314
+ break;
1315
+ }
1316
+
1317
+ message.scaleDirection = Vector3.decode(reader, reader.uint32());
1318
+ continue;
1319
+ case 4:
1320
+ if (tag !== 37) {
1321
+ break;
1322
+ }
1323
+
1324
+ message.speed = reader.float();
1325
+ continue;
1326
+ }
1327
+ if ((tag & 7) === 4 || tag === 0) {
1328
+ break;
1329
+ }
1330
+ reader.skipType(tag & 7);
1331
+ }
1332
+ return message;
1333
+ }
1334
+
1335
+ export function fromJSON(object: any): MoveRotateScaleContinuous {
1336
+ return {
1337
+ positionDirection: isSet(object.positionDirection) ? Vector3.fromJSON(object.positionDirection) : undefined,
1338
+ rotationDirection: isSet(object.rotationDirection) ? Quaternion.fromJSON(object.rotationDirection) : undefined,
1339
+ scaleDirection: isSet(object.scaleDirection) ? Vector3.fromJSON(object.scaleDirection) : undefined,
1340
+ speed: isSet(object.speed) ? Number(object.speed) : 0,
1341
+ };
1342
+ }
1343
+
1344
+ export function toJSON(message: MoveRotateScaleContinuous): unknown {
1345
+ const obj: any = {};
1346
+ message.positionDirection !== undefined &&
1347
+ (obj.positionDirection = message.positionDirection ? Vector3.toJSON(message.positionDirection) : undefined);
1348
+ message.rotationDirection !== undefined &&
1349
+ (obj.rotationDirection = message.rotationDirection ? Quaternion.toJSON(message.rotationDirection) : undefined);
1350
+ message.scaleDirection !== undefined &&
1351
+ (obj.scaleDirection = message.scaleDirection ? Vector3.toJSON(message.scaleDirection) : undefined);
1352
+ message.speed !== undefined && (obj.speed = message.speed);
1353
+ return obj;
1354
+ }
1355
+
1356
+ export function create<I extends Exact<DeepPartial<MoveRotateScaleContinuous>, I>>(
1357
+ base?: I,
1358
+ ): MoveRotateScaleContinuous {
1359
+ return MoveRotateScaleContinuous.fromPartial(base ?? {});
1360
+ }
1361
+
1362
+ export function fromPartial<I extends Exact<DeepPartial<MoveRotateScaleContinuous>, I>>(
1363
+ object: I,
1364
+ ): MoveRotateScaleContinuous {
1365
+ const message = createBaseMoveRotateScaleContinuous();
1366
+ message.positionDirection = (object.positionDirection !== undefined && object.positionDirection !== null)
1367
+ ? Vector3.fromPartial(object.positionDirection)
1368
+ : undefined;
1369
+ message.rotationDirection = (object.rotationDirection !== undefined && object.rotationDirection !== null)
1370
+ ? Quaternion.fromPartial(object.rotationDirection)
1371
+ : undefined;
1372
+ message.scaleDirection = (object.scaleDirection !== undefined && object.scaleDirection !== null)
1373
+ ? Vector3.fromPartial(object.scaleDirection)
1374
+ : undefined;
1375
+ message.speed = object.speed ?? 0;
1376
+ return message;
1377
+ }
1378
+ }
1379
+
1047
1380
  function createBaseTextureMoveContinuous(): TextureMoveContinuous {
1048
1381
  return { direction: undefined, speed: 0, movementType: undefined };
1049
1382
  }
@@ -65,15 +65,7 @@ export interface PBUiText {
65
65
  | number
66
66
  | undefined;
67
67
  /** wrap text when the border is reached (default: TW_WRAP) */
68
- textWrap?:
69
- | TextWrap
70
- | undefined;
71
- /** width of the outline (default: 0) */
72
- outlineWidth?:
73
- | number
74
- | undefined;
75
- /** RGBA color of the outline (default: opaque black) */
76
- outlineColor?: Color4 | undefined;
68
+ textWrap?: TextWrap | undefined;
77
69
  }
78
70
 
79
71
  function createBasePBUiText(): PBUiText {
@@ -84,8 +76,6 @@ function createBasePBUiText(): PBUiText {
84
76
  font: undefined,
85
77
  fontSize: undefined,
86
78
  textWrap: undefined,
87
- outlineWidth: undefined,
88
- outlineColor: undefined,
89
79
  };
90
80
  }
91
81
 
@@ -109,12 +99,6 @@ export namespace PBUiText {
109
99
  if (message.textWrap !== undefined) {
110
100
  writer.uint32(48).int32(message.textWrap);
111
101
  }
112
- if (message.outlineWidth !== undefined) {
113
- writer.uint32(61).float(message.outlineWidth);
114
- }
115
- if (message.outlineColor !== undefined) {
116
- Color4.encode(message.outlineColor, writer.uint32(66).fork()).ldelim();
117
- }
118
102
  return writer;
119
103
  }
120
104
 
@@ -167,20 +151,6 @@ export namespace PBUiText {
167
151
 
168
152
  message.textWrap = reader.int32() as any;
169
153
  continue;
170
- case 7:
171
- if (tag !== 61) {
172
- break;
173
- }
174
-
175
- message.outlineWidth = reader.float();
176
- continue;
177
- case 8:
178
- if (tag !== 66) {
179
- break;
180
- }
181
-
182
- message.outlineColor = Color4.decode(reader, reader.uint32());
183
- continue;
184
154
  }
185
155
  if ((tag & 7) === 4 || tag === 0) {
186
156
  break;
@@ -198,8 +168,6 @@ export namespace PBUiText {
198
168
  font: isSet(object.font) ? fontFromJSON(object.font) : undefined,
199
169
  fontSize: isSet(object.fontSize) ? Number(object.fontSize) : undefined,
200
170
  textWrap: isSet(object.textWrap) ? textWrapFromJSON(object.textWrap) : undefined,
201
- outlineWidth: isSet(object.outlineWidth) ? Number(object.outlineWidth) : undefined,
202
- outlineColor: isSet(object.outlineColor) ? Color4.fromJSON(object.outlineColor) : undefined,
203
171
  };
204
172
  }
205
173
 
@@ -213,9 +181,6 @@ export namespace PBUiText {
213
181
  message.fontSize !== undefined && (obj.fontSize = Math.round(message.fontSize));
214
182
  message.textWrap !== undefined &&
215
183
  (obj.textWrap = message.textWrap !== undefined ? textWrapToJSON(message.textWrap) : undefined);
216
- message.outlineWidth !== undefined && (obj.outlineWidth = message.outlineWidth);
217
- message.outlineColor !== undefined &&
218
- (obj.outlineColor = message.outlineColor ? Color4.toJSON(message.outlineColor) : undefined);
219
184
  return obj;
220
185
  }
221
186
 
@@ -233,10 +198,6 @@ export namespace PBUiText {
233
198
  message.font = object.font ?? undefined;
234
199
  message.fontSize = object.fontSize ?? undefined;
235
200
  message.textWrap = object.textWrap ?? undefined;
236
- message.outlineWidth = object.outlineWidth ?? undefined;
237
- message.outlineColor = (object.outlineColor !== undefined && object.outlineColor !== null)
238
- ? Color4.fromPartial(object.outlineColor)
239
- : undefined;
240
201
  return message;
241
202
  }
242
203
  }