@rbxts/types 1.0.700 → 1.0.702

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.
@@ -136,7 +136,9 @@ interface Services {
136
136
  TextService: TextService;
137
137
  ToastNotificationService: ToastNotificationService;
138
138
  TracerService: TracerService;
139
+ TutorialService: TutorialService;
139
140
  TweenService: TweenService;
141
+ UGCAvatarService: UGCAvatarService;
140
142
  UnvalidatedAssetService: UnvalidatedAssetService;
141
143
  UserInputService: UserInputService;
142
144
  UserService: UserService;
@@ -189,6 +191,7 @@ interface CreatableInstances {
189
191
  BoxHandleAdornment: BoxHandleAdornment;
190
192
  Breakpoint: Breakpoint;
191
193
  BrickColorValue: BrickColorValue;
194
+ BubbleChatMessageProperties: BubbleChatMessageProperties;
192
195
  BuoyancySensor: BuoyancySensor;
193
196
  Camera: Camera;
194
197
  CanvasGroup: CanvasGroup;
@@ -221,6 +224,7 @@ interface CreatableInstances {
221
224
  DoubleConstrainedValue: DoubleConstrainedValue;
222
225
  DragDetector: DragDetector;
223
226
  Dragger: Dragger;
227
+ DynamicMesh: DynamicMesh;
224
228
  EchoSoundEffect: EchoSoundEffect;
225
229
  EqualizerSoundEffect: EqualizerSoundEffect;
226
230
  EulerRotationCurve: EulerRotationCurve;
@@ -2755,6 +2759,16 @@ interface AvatarEditorService extends Instance {
2755
2759
  *
2756
2760
  * Tags: Yields
2757
2761
  */
2762
+ GetBatchItemDetails(
2763
+ this: AvatarEditorService,
2764
+ itemIds: ReadonlyArray<number>,
2765
+ itemType: CastsToEnum<Enum.AvatarItemType.Asset>,
2766
+ ): ReadonlyArray<AssetItemDetails>;
2767
+ GetBatchItemDetails(
2768
+ this: AvatarEditorService,
2769
+ itemIds: ReadonlyArray<number>,
2770
+ itemType: CastsToEnum<Enum.AvatarItemType.Bundle>,
2771
+ ): ReadonlyArray<BundleItemDetails>;
2758
2772
  GetBatchItemDetails(
2759
2773
  this: AvatarEditorService,
2760
2774
  itemIds: ReadonlyArray<number>,
@@ -5514,6 +5528,22 @@ interface Breakpoint extends Instance {
5514
5528
  readonly _nominal_Breakpoint: unique symbol;
5515
5529
  }
5516
5530
 
5531
+ interface BubbleChatMessageProperties extends Instance {
5532
+ /**
5533
+ * **DO NOT USE!**
5534
+ *
5535
+ * This field exists to force TypeScript to recognize this as a nominal type
5536
+ * @hidden
5537
+ * @deprecated
5538
+ */
5539
+ readonly _nominal_BubbleChatMessageProperties: unique symbol;
5540
+ BackgroundColor3: Color3;
5541
+ BackgroundTransparency: number;
5542
+ FontFace: Font;
5543
+ TextColor3: Color3;
5544
+ TextSize: number;
5545
+ }
5546
+
5517
5547
  interface BulkImportService extends Instance {
5518
5548
  /**
5519
5549
  * **DO NOT USE!**
@@ -5839,6 +5869,7 @@ interface Camera extends Instance {
5839
5869
  * * [Camera:GetTiltSpeed](https://developer.roblox.com/en-us/api-reference/function/Camera/GetTiltSpeed) for the speed at which the [Camera](https://developer.roblox.com/en-us/api-reference/class/Camera) is rotating around its [Camera.Focus](https://developer.roblox.com/en-us/api-reference/property/Camera/Focus) on the [Camera's](https://developer.roblox.com/en-us/api-reference/class/Camera) X axis
5840
5870
  * * [Camera:PanUnits](https://developer.roblox.com/en-us/api-reference/function/Camera/PanUnits) to 'pan' the camera
5841
5871
  * * [Camera:TiltUnits](https://developer.roblox.com/en-us/api-reference/function/Camera/TiltUnits) to 'tilt' the camera
5872
+ * @deprecated
5842
5873
  */
5843
5874
  GetPanSpeed(this: Camera): number;
5844
5875
  /**
@@ -5908,6 +5939,7 @@ interface Camera extends Instance {
5908
5939
  * [Camera:GetPanSpeed](https://developer.roblox.com/en-us/api-reference/function/Camera/GetPanSpeed) for the speed the [Camera](https://developer.roblox.com/en-us/api-reference/class/Camera) is rotating around the [Camera.Focus](https://developer.roblox.com/en-us/api-reference/property/Camera/Focus) around the Y axis
5909
5940
  * [Camera:PanUnits](https://developer.roblox.com/en-us/api-reference/function/Camera/PanUnits) to 'pan' the camera
5910
5941
  * [Camera:TiltUnits](https://developer.roblox.com/en-us/api-reference/function/Camera/TiltUnits) to 'tilt' the camera
5942
+ * @deprecated
5911
5943
  */
5912
5944
  GetTiltSpeed(this: Camera): number;
5913
5945
  /**
@@ -7452,6 +7484,7 @@ interface LinearVelocity extends Constraint {
7452
7484
  * @deprecated
7453
7485
  */
7454
7486
  readonly _nominal_LinearVelocity: unique symbol;
7487
+ ForceLimitMode: Enum.ForceLimitMode;
7455
7488
  /**
7456
7489
  * The normalized [Vector3](https://developer.roblox.com/en-us/api-reference/datatype/Vector3) direction for constraining the velocity along a line, when [ VelocityConstraintMode](https://developer.roblox.com/en-us/api-reference/property/LinearVelocity/VelocityConstraintMode) is set to **Line**. Default is \[1, 0, 0\].
7457
7490
  */
@@ -7460,10 +7493,12 @@ interface LinearVelocity extends Constraint {
7460
7493
  * Float value of the velocity when [VelocityConstraintMode](https://developer.roblox.com/en-us/api-reference/property/LinearVelocity/VelocityConstraintMode) is set to **Line**. Default is 0.
7461
7494
  */
7462
7495
  LineVelocity: number;
7496
+ MaxAxesForce: Vector3;
7463
7497
  /**
7464
7498
  * Maximum magnitude of the force vector the constraint can apply.
7465
7499
  */
7466
7500
  MaxForce: number;
7501
+ MaxPlanarAxesForce: Vector2;
7467
7502
  /**
7468
7503
  * [Vector2](https://developer.roblox.com/en-us/api-reference/datatype/Vector2) value of the velocity in each tangent direction of the plane, when [VelocityConstraintMode](https://developer.roblox.com/en-us/api-reference/property/LinearVelocity/VelocityConstraintMode) is set to **Plane**. Default is \[0, 0\].
7469
7504
  */
@@ -8987,6 +9022,40 @@ interface FileMesh extends DataModelMesh {
8987
9022
  TextureId: string;
8988
9023
  }
8989
9024
 
9025
+ interface DynamicMesh extends FileMesh {
9026
+ /**
9027
+ * **DO NOT USE!**
9028
+ *
9029
+ * This field exists to force TypeScript to recognize this as a nominal type
9030
+ * @hidden
9031
+ * @deprecated
9032
+ */
9033
+ readonly _nominal_DynamicMesh: unique symbol;
9034
+ AddTriangle(this: DynamicMesh, vertexId0: number, vertexId1: number, vertexId2: number): number;
9035
+ AddVertex(this: DynamicMesh, p: Vector3): number;
9036
+ Clear(this: DynamicMesh): void;
9037
+ GetPosition(this: DynamicMesh, vertexId: number): Vector3;
9038
+ GetTriangleVertices(this: DynamicMesh, triangleId: number): unknown;
9039
+ GetTriangles(this: DynamicMesh): unknown;
9040
+ GetUV(this: DynamicMesh, vertexId: number): Vector2;
9041
+ GetVertexColor(this: DynamicMesh, vertexId: number): Color3;
9042
+ GetVertexColorAlpha(this: DynamicMesh, vertexId: number): number;
9043
+ GetVertexNormal(this: DynamicMesh, vertexId: number): Vector3;
9044
+ GetVertices(this: DynamicMesh): unknown;
9045
+ InitializeFromMeshIdAsync(this: DynamicMesh, meshId: string): void;
9046
+ InitializeFromMeshPartAsync(this: DynamicMesh, meshPart: MeshPart): void;
9047
+ RemoveTriangle(this: DynamicMesh, triangleId: number): void;
9048
+ SetPosition(this: DynamicMesh, vertexId: number, p: Vector3): void;
9049
+ SetUV(this: DynamicMesh, vertexId: number, uv: Vector2): void;
9050
+ SetVertexColor(this: DynamicMesh, vertexId: number, color: Color3): void;
9051
+ SetVertexColorAlpha(this: DynamicMesh, vertexId: number, alpha: number): void;
9052
+ SetVertexNormal(this: DynamicMesh, vertexId: number, vnormal: Vector3): void;
9053
+ /**
9054
+ * Tags: Yields
9055
+ */
9056
+ CreateMeshPartAsync(this: DynamicMesh, collisionFidelity: CastsToEnum<Enum.CollisionFidelity>): MeshPart;
9057
+ }
9058
+
8990
9059
  /** The SpecialMesh is an object that allows developers to provide a standard template or user uploaded mesh to a [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart).
8991
9060
  *
8992
9061
  * What does a SpecialMesh do?
@@ -16751,21 +16820,9 @@ interface IKControl extends Instance {
16751
16820
  Weight: number;
16752
16821
  GetChainCount(this: IKControl): number;
16753
16822
  GetChainLength(this: IKControl): number;
16754
- /**
16755
- * Tags: NotBrowsable
16756
- */
16757
16823
  GetNodeLocalCFrame(this: IKControl, index: number): CFrame;
16758
- /**
16759
- * Tags: NotBrowsable
16760
- */
16761
16824
  GetNodeWorldCFrame(this: IKControl, index: number): CFrame;
16762
- /**
16763
- * Tags: NotBrowsable
16764
- */
16765
16825
  GetRawFinalTarget(this: IKControl): CFrame;
16766
- /**
16767
- * Tags: NotBrowsable
16768
- */
16769
16826
  GetSmoothedFinalTarget(this: IKControl): CFrame;
16770
16827
  }
16771
16828
 
@@ -21253,6 +21310,7 @@ interface LogService extends Instance {
21253
21310
  * @deprecated
21254
21311
  */
21255
21312
  readonly _nominal_LogService: unique symbol;
21313
+ ClearOutput(this: LogService): void;
21256
21314
  /**
21257
21315
  * **Unreliable Behavior**
21258
21316
  *
@@ -30437,9 +30495,6 @@ interface Sound extends Instance {
30437
30495
  */
30438
30496
  readonly PlaybackLoudness: number;
30439
30497
  PlaybackRegion: NumberRange;
30440
- /**
30441
- * Tags: NotBrowsable
30442
- */
30443
30498
  PlaybackRegionsEnabled: boolean;
30444
30499
  /**
30445
30500
  * Determines the speed at which a [Sound](https://developer.roblox.com/en-us/api-reference/class/Sound) will play. The greater the value the faster the sound will play back.
@@ -33970,6 +34025,17 @@ interface Translator extends Instance {
33970
34025
  Translate(this: Translator, context: Instance, text: string): string;
33971
34026
  }
33972
34027
 
34028
+ interface TutorialService extends Instance {
34029
+ /**
34030
+ * **DO NOT USE!**
34031
+ *
34032
+ * This field exists to force TypeScript to recognize this as a nominal type
34033
+ * @hidden
34034
+ * @deprecated
34035
+ */
34036
+ readonly _nominal_TutorialService: unique symbol;
34037
+ }
34038
+
33973
34039
  /** The base class for in-between interpolation handlers. */
33974
34040
  interface TweenBase extends Instance {
33975
34041
  /**
@@ -34120,6 +34186,17 @@ interface TweenService extends Instance {
34120
34186
  GetValue(this: TweenService, alpha: number, easingStyle: CastsToEnum<Enum.EasingStyle>, easingDirection: CastsToEnum<Enum.EasingDirection>): number;
34121
34187
  }
34122
34188
 
34189
+ interface UGCAvatarService extends Instance {
34190
+ /**
34191
+ * **DO NOT USE!**
34192
+ *
34193
+ * This field exists to force TypeScript to recognize this as a nominal type
34194
+ * @hidden
34195
+ * @deprecated
34196
+ */
34197
+ readonly _nominal_UGCAvatarService: unique symbol;
34198
+ }
34199
+
34123
34200
  /** UIBase is the base class for UI layout and constraint classes. */
34124
34201
  interface UIBase extends Instance {
34125
34202
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.700",
3
+ "version": "1.0.702",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },