@rbxts/types 1.0.731 → 1.0.733

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.
@@ -152,6 +152,7 @@ interface Services {
152
152
  TextBoxService: TextBoxService;
153
153
  TextChatService: TextChatService;
154
154
  TextService: TextService;
155
+ TextureGenerationMeshHandler: TextureGenerationMeshHandler;
155
156
  ToastNotificationService: ToastNotificationService;
156
157
  TracerService: TracerService;
157
158
  TutorialService: TutorialService;
@@ -321,7 +322,7 @@ interface CreatableInstances {
321
322
  NumberPose: NumberPose;
322
323
  NumberValue: NumberValue;
323
324
  ObjectValue: ObjectValue;
324
- OperationTree: OperationTree;
325
+ OperationGraph: OperationGraph;
325
326
  Pants: Pants;
326
327
  Part: Part;
327
328
  ParticleEmitter: ParticleEmitter;
@@ -6630,6 +6631,8 @@ interface CaptureService extends Instance {
6630
6631
  * @deprecated
6631
6632
  */
6632
6633
  readonly _nominal_CaptureService: unique symbol;
6634
+ PromptShareCapture(this: CaptureService, contentId: string, launchData: object, onAcceptedCallback: Callback, onDeniedCallback: Callback): void;
6635
+ readonly UserCaptureSaved: RBXScriptSignal<(captureContentId: string) => void>;
6633
6636
  }
6634
6637
 
6635
6638
  /** Base class for objects that change a character's appearance. */
@@ -7495,6 +7498,14 @@ interface Constraint extends Instance {
7495
7498
  * Toggles the visibility of this Constraint.
7496
7499
  */
7497
7500
  Visible: boolean;
7501
+ /**
7502
+ * @deprecated
7503
+ */
7504
+ GetDebugAppliedForce(this: Constraint, bodyId: number): Vector3;
7505
+ /**
7506
+ * @deprecated
7507
+ */
7508
+ GetDebugAppliedTorque(this: Constraint, bodyId: number): Vector3;
7498
7509
  }
7499
7510
 
7500
7511
  /** An AlignOrientation attempts to constrain its [Attachment0](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment0)'s orientation to the goal orientation, which is determined by [Attachment1](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment1) or [CFrame](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/CFrame) depending on the [Mode](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/Mode).
@@ -9574,7 +9585,7 @@ interface EditableMesh extends DataModelMesh {
9574
9585
  GetVertexColorAlpha(this: EditableMesh, vertexId: number): number;
9575
9586
  GetVertexNormal(this: EditableMesh, vertexId: number): Vector3;
9576
9587
  GetVertices(this: EditableMesh): unknown;
9577
- Raycast(this: EditableMesh, origin: Vector3, direction: Vector3): unknown;
9588
+ RaycastLocal(this: EditableMesh, origin: Vector3, direction: Vector3): unknown;
9578
9589
  RemoveTriangle(this: EditableMesh, triangleId: number): void;
9579
9590
  RemoveVertex(this: EditableMesh, vertexId: number): void;
9580
9591
  SetPosition(this: EditableMesh, vertexId: number, p: Vector3): void;
@@ -19216,6 +19227,7 @@ interface InsertService extends Instance {
19216
19227
  * Returns an array of dictionaries, containing information about various Roblox approved sets.
19217
19228
  *
19218
19229
  * Tags: Yields
19230
+ * @deprecated
19219
19231
  */
19220
19232
  GetBaseSets(this: InsertService): Array<SetInfo>;
19221
19233
  /**
@@ -23507,7 +23519,7 @@ interface OpenCloudService extends Instance {
23507
23519
  InvokeAsync(this: OpenCloudService, version: string, methodName: string, arguments: object): object;
23508
23520
  }
23509
23521
 
23510
- interface OperationTree extends Instance {
23522
+ interface OperationGraph extends Instance {
23511
23523
  /**
23512
23524
  * **DO NOT USE!**
23513
23525
  *
@@ -23515,7 +23527,7 @@ interface OperationTree extends Instance {
23515
23527
  * @hidden
23516
23528
  * @deprecated
23517
23529
  */
23518
- readonly _nominal_OperationTree: unique symbol;
23530
+ readonly _nominal_OperationGraph: unique symbol;
23519
23531
  }
23520
23532
 
23521
23533
  /** A [PVInstance](https://developer.roblox.com/en-us/api-reference/class/PVInstance) (“Position Velocity Instance”) is an abstract class that cannot be created. It is the base for all objects that have a physical location in the world, specifically [BaseParts](https://developer.roblox.com/en-us/api-reference/class/BasePart) and [Models](https://developer.roblox.com/en-us/api-reference/class/Model). */
@@ -24304,6 +24316,7 @@ interface BasePart extends PVInstance {
24304
24316
  * @deprecated Use `AssemblyLinearVelocity` instead
24305
24317
  */
24306
24318
  Velocity: Vector3;
24319
+ AngularAccelerationToTorque(this: BasePart, angAcceleration: Vector3, angVelocity?: Vector3): Vector3;
24307
24320
  /**
24308
24321
  * Applies an instant angular force impulse to this [part's](https://developer.roblox.com/en-us/api-reference/class/BasePart) assembly, causing the assembly to spin.
24309
24322
  *
@@ -24468,6 +24481,7 @@ interface BasePart extends PVInstance {
24468
24481
  * Lets the game engine dynamically decide who will handle the part's physics (one of the clients or the server).
24469
24482
  */
24470
24483
  SetNetworkOwnershipAuto(this: BasePart): void;
24484
+ TorqueToAngularAcceleration(this: BasePart, torque: Vector3, angVelocity?: Vector3): Vector3;
24471
24485
  /**
24472
24486
  * Tags: Yields
24473
24487
  */
@@ -25042,6 +25056,7 @@ interface Terrain extends BasePart {
25042
25056
  * Applies a chunk of terrain to the Terrain object. Note: [TerrainRegion](https://developer.roblox.com/en-us/api-reference/class/TerrainRegion) data does not replicate between server and client.
25043
25057
  */
25044
25058
  PasteRegion(this: Terrain, region: TerrainRegion, corner: Vector3int16, pasteEmptyCells: boolean): void;
25059
+ ReadVoxelChannels(this: Terrain, region: Region3, resolution: number, channelIds: Array<any>): object;
25045
25060
  /**
25046
25061
  * Returns a certain region of [smooth terrain](https://developer.roblox.com/articles/Intro-To-Terrain) in [table format](https://developer.roblox.com/articles/Scripting-With-Terrain#reading-and-writing-voxels). Both of the returned arrays have an additional `Size` property, a [Vector3](https://developer.roblox.com/en-us/api-reference/datatype/Vector3).
25047
25062
  *
@@ -25098,6 +25113,7 @@ interface Terrain extends BasePart {
25098
25113
  * Returns the grid cell location that contains the point position, preferring non-empty grid cells when position is on a grid edge.
25099
25114
  */
25100
25115
  WorldToCellPreferSolid(this: Terrain, position: Vector3): Vector3;
25116
+ WriteVoxelChannels(this: Terrain, region: Region3, resolution: number, channels: object): void;
25101
25117
  /**
25102
25118
  * Sets a certain region of [smooth terrain](https://developer.roblox.com/articles/Intro-To-Terrain "Smooth terrain") using the [table format](https://developer.roblox.com/articles/Intro-To-Terrain#Reading_and_writing_voxels "Smooth terrain")
25103
25119
  *
@@ -26229,6 +26245,7 @@ interface WorldRoot extends Model {
26229
26245
  direction: Vector3,
26230
26246
  raycastParams?: RaycastParams,
26231
26247
  ): RaycastResult | undefined;
26248
+ Shapecast(this: WorldRoot, part: BasePart, direction: Vector3, params?: RaycastParams): RaycastResult;
26232
26249
  Spherecast(
26233
26250
  this: WorldRoot,
26234
26251
  position: Vector3,
@@ -32515,6 +32532,10 @@ interface StarterPlayer extends Instance {
32515
32532
  * Setting this to _true_ results in the player loading the appearance corresponding to the player's [Player.CharacterAppearanceId](https://developer.roblox.com/en-us/api-reference/property/Player/CharacterAppearanceId).
32516
32533
  */
32517
32534
  LoadCharacterAppearance: boolean;
32535
+ /**
32536
+ * Tags: NotBrowsable
32537
+ */
32538
+ LuaCharacterController: Enum.CharacterControlMode;
32518
32539
  /**
32519
32540
  * Sets the distance at which this player will see other Humanoid's names. If set to 0, names are hidden.
32520
32541
  *
@@ -34408,6 +34429,17 @@ interface TextSource extends Instance {
34408
34429
  readonly UserId: number;
34409
34430
  }
34410
34431
 
34432
+ interface TextureGenerationMeshHandler extends Instance {
34433
+ /**
34434
+ * **DO NOT USE!**
34435
+ *
34436
+ * This field exists to force TypeScript to recognize this as a nominal type
34437
+ * @hidden
34438
+ * @deprecated
34439
+ */
34440
+ readonly _nominal_TextureGenerationMeshHandler: unique symbol;
34441
+ }
34442
+
34411
34443
  interface ThreadState extends Instance {
34412
34444
  /**
34413
34445
  * **DO NOT USE!**
@@ -4388,5 +4388,9 @@ interface VoiceChatService extends Instance {
4388
4388
  */
4389
4389
  readonly _nominal_VoiceChatService: unique symbol;
4390
4390
  EnableDefaultVoice: boolean;
4391
+ /**
4392
+ * Tags: NotBrowsable
4393
+ */
4394
+ UseAudioApi: Enum.AudioApiRollout;
4391
4395
  }
4392
4396
 
@@ -1671,6 +1671,35 @@ declare namespace Enum {
1671
1671
  }
1672
1672
  export type AssetTypeVerification = AssetTypeVerification.Default | AssetTypeVerification.ClientOnly | AssetTypeVerification.Always;
1673
1673
 
1674
+ export namespace AudioApiRollout {
1675
+ export interface Disabled extends globalThis.EnumItem {
1676
+ Name: "Disabled";
1677
+ Value: 0;
1678
+ EnumType: typeof globalThis.Enum.AudioApiRollout;
1679
+ }
1680
+
1681
+ export const Disabled: Disabled;
1682
+
1683
+ export interface Automatic extends globalThis.EnumItem {
1684
+ Name: "Automatic";
1685
+ Value: 1;
1686
+ EnumType: typeof globalThis.Enum.AudioApiRollout;
1687
+ }
1688
+
1689
+ export const Automatic: Automatic;
1690
+
1691
+ export interface Enabled extends globalThis.EnumItem {
1692
+ Name: "Enabled";
1693
+ Value: 2;
1694
+ EnumType: typeof globalThis.Enum.AudioApiRollout;
1695
+ }
1696
+
1697
+ export const Enabled: Enabled;
1698
+
1699
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AudioApiRollout>;
1700
+ }
1701
+ export type AudioApiRollout = AudioApiRollout.Disabled | AudioApiRollout.Automatic | AudioApiRollout.Enabled;
1702
+
1674
1703
  export namespace AudioSubType {
1675
1704
  export interface Music extends globalThis.EnumItem {
1676
1705
  Name: "Music";
@@ -3476,6 +3505,43 @@ declare namespace Enum {
3476
3505
  }
3477
3506
  export type CenterDialogType = CenterDialogType.UnsolicitedDialog | CenterDialogType.PlayerInitiatedDialog | CenterDialogType.ModalDialog | CenterDialogType.QuitDialog;
3478
3507
 
3508
+ export namespace CharacterControlMode {
3509
+ export interface Default extends globalThis.EnumItem {
3510
+ Name: "Default";
3511
+ Value: 0;
3512
+ EnumType: typeof globalThis.Enum.CharacterControlMode;
3513
+ }
3514
+
3515
+ export const Default: Default;
3516
+
3517
+ export interface Legacy extends globalThis.EnumItem {
3518
+ Name: "Legacy";
3519
+ Value: 1;
3520
+ EnumType: typeof globalThis.Enum.CharacterControlMode;
3521
+ }
3522
+
3523
+ export const Legacy: Legacy;
3524
+
3525
+ export interface NoCharacterController extends globalThis.EnumItem {
3526
+ Name: "NoCharacterController";
3527
+ Value: 2;
3528
+ EnumType: typeof globalThis.Enum.CharacterControlMode;
3529
+ }
3530
+
3531
+ export const NoCharacterController: NoCharacterController;
3532
+
3533
+ export interface LuaCharacterController extends globalThis.EnumItem {
3534
+ Name: "LuaCharacterController";
3535
+ Value: 3;
3536
+ EnumType: typeof globalThis.Enum.CharacterControlMode;
3537
+ }
3538
+
3539
+ export const LuaCharacterController: LuaCharacterController;
3540
+
3541
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.CharacterControlMode>;
3542
+ }
3543
+ export type CharacterControlMode = CharacterControlMode.Default | CharacterControlMode.Legacy | CharacterControlMode.NoCharacterController | CharacterControlMode.LuaCharacterController;
3544
+
3479
3545
  export namespace ChatCallbackType {
3480
3546
  export interface OnCreatingChatWindow extends globalThis.EnumItem {
3481
3547
  Name: "OnCreatingChatWindow";
@@ -13448,6 +13514,35 @@ declare namespace Enum {
13448
13514
  }
13449
13515
  export type PlayerActions = PlayerActions.CharacterForward | PlayerActions.CharacterBackward | PlayerActions.CharacterLeft | PlayerActions.CharacterRight | PlayerActions.CharacterJump;
13450
13516
 
13517
+ export namespace PlayerCharacterDestroyBehavior {
13518
+ export interface Default extends globalThis.EnumItem {
13519
+ Name: "Default";
13520
+ Value: 0;
13521
+ EnumType: typeof globalThis.Enum.PlayerCharacterDestroyBehavior;
13522
+ }
13523
+
13524
+ export const Default: Default;
13525
+
13526
+ export interface Disabled extends globalThis.EnumItem {
13527
+ Name: "Disabled";
13528
+ Value: 1;
13529
+ EnumType: typeof globalThis.Enum.PlayerCharacterDestroyBehavior;
13530
+ }
13531
+
13532
+ export const Disabled: Disabled;
13533
+
13534
+ export interface Enabled extends globalThis.EnumItem {
13535
+ Name: "Enabled";
13536
+ Value: 2;
13537
+ EnumType: typeof globalThis.Enum.PlayerCharacterDestroyBehavior;
13538
+ }
13539
+
13540
+ export const Enabled: Enabled;
13541
+
13542
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.PlayerCharacterDestroyBehavior>;
13543
+ }
13544
+ export type PlayerCharacterDestroyBehavior = PlayerCharacterDestroyBehavior.Default | PlayerCharacterDestroyBehavior.Disabled | PlayerCharacterDestroyBehavior.Enabled;
13545
+
13451
13546
  export namespace PlayerChatType {
13452
13547
  export interface All extends globalThis.EnumItem {
13453
13548
  Name: "All";
@@ -18758,6 +18853,35 @@ declare namespace Enum {
18758
18853
  }
18759
18854
  export type TextYAlignment = TextYAlignment.Top | TextYAlignment.Center | TextYAlignment.Bottom;
18760
18855
 
18856
+ export namespace TextureGenerationMeshHandlerUnwrapMode {
18857
+ export interface Never extends globalThis.EnumItem {
18858
+ Name: "Never";
18859
+ Value: 0;
18860
+ EnumType: typeof globalThis.Enum.TextureGenerationMeshHandlerUnwrapMode;
18861
+ }
18862
+
18863
+ export const Never: Never;
18864
+
18865
+ export interface Always extends globalThis.EnumItem {
18866
+ Name: "Always";
18867
+ Value: 1;
18868
+ EnumType: typeof globalThis.Enum.TextureGenerationMeshHandlerUnwrapMode;
18869
+ }
18870
+
18871
+ export const Always: Always;
18872
+
18873
+ export interface WhenInvalidUVsDetected extends globalThis.EnumItem {
18874
+ Name: "WhenInvalidUVsDetected";
18875
+ Value: 2;
18876
+ EnumType: typeof globalThis.Enum.TextureGenerationMeshHandlerUnwrapMode;
18877
+ }
18878
+
18879
+ export const WhenInvalidUVsDetected: WhenInvalidUVsDetected;
18880
+
18881
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.TextureGenerationMeshHandlerUnwrapMode>;
18882
+ }
18883
+ export type TextureGenerationMeshHandlerUnwrapMode = TextureGenerationMeshHandlerUnwrapMode.Never | TextureGenerationMeshHandlerUnwrapMode.Always | TextureGenerationMeshHandlerUnwrapMode.WhenInvalidUVsDetected;
18884
+
18761
18885
  export namespace TextureMode {
18762
18886
  export interface Stretch extends globalThis.EnumItem {
18763
18887
  Name: "Stretch";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.731",
3
+ "version": "1.0.733",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },