@rbxts/types 1.0.553 → 1.0.557

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.
@@ -92,6 +92,7 @@ interface Services {
92
92
  TeleportService: TeleportService;
93
93
  TemporaryCageMeshProvider: TemporaryCageMeshProvider;
94
94
  TemporaryScriptService: TemporaryScriptService;
95
+ TextBoxService: TextBoxService;
95
96
  TextChatService: TextChatService;
96
97
  TextService: TextService;
97
98
  ToastNotificationService: ToastNotificationService;
@@ -187,6 +188,7 @@ interface CreatableInstances {
187
188
  Glue: Glue;
188
189
  Handles: Handles;
189
190
  Hat: Hat;
191
+ HiddenSurfaceRemovalAsset: HiddenSurfaceRemovalAsset;
190
192
  Highlight: Highlight;
191
193
  HingeConstraint: HingeConstraint;
192
194
  Hole: Hole;
@@ -1951,7 +1953,7 @@ interface AssetImportService extends Instance {
1951
1953
  readonly _nominal_AssetImportService: unique symbol;
1952
1954
  readonly ProgressUpdate: RBXScriptSignal<(progressRatio: number) => void>;
1953
1955
  readonly SettingsChanged: RBXScriptSignal<(property: string) => void>;
1954
- readonly UploadFinished: RBXScriptSignal<(succeeded: boolean) => void>;
1956
+ readonly UploadFinished: RBXScriptSignal<(succeeded: boolean, errorMap: object) => void>;
1955
1957
  }
1956
1958
 
1957
1959
  interface AssetManagerService extends Instance {
@@ -6961,9 +6963,9 @@ interface RigidConstraint extends Constraint {
6961
6963
  */
6962
6964
  readonly _nominal_RigidConstraint: unique symbol;
6963
6965
  /**
6964
- * Tags: NotBrowsable
6966
+ * Tags: ReadOnly, NotReplicated, NotBrowsable
6965
6967
  */
6966
- Broken: boolean;
6968
+ readonly Broken: boolean;
6967
6969
  /**
6968
6970
  * Tags: NotBrowsable
6969
6971
  */
@@ -10212,7 +10214,7 @@ interface GroupService extends Instance {
10212
10214
  *
10213
10215
  * A boolean indicating if this is the player's primary group
10214
10216
  *
10215
- * IsInClan
10217
+ * ### IsInClan
10216
10218
  *
10217
10219
  * A boolean indicating if the player is in this group's clan
10218
10220
  *
@@ -10962,7 +10964,7 @@ interface CanvasGroup extends GuiObject {
10962
10964
  */
10963
10965
  readonly _nominal_CanvasGroup: unique symbol;
10964
10966
  GroupColor: Color3;
10965
- Transparency: number;
10967
+ GroupTransparency: number;
10966
10968
  }
10967
10969
 
10968
10970
  /** Frame is a [GuiObject](https://developer.roblox.com/en-us/api-reference/class/GuiObject) that renders as a plain rectangle with no other content. They are the simplest concrete example of a [GuiObject](https://developer.roblox.com/en-us/api-reference/class/GuiObject), as they provide very little additional functionality (`Frame.FrameStyle`). Despite this, Frames are useful as containers for other [GuiObject](https://developer.roblox.com/en-us/api-reference/class/GuiObject)s, such as [TextLabel](https://developer.roblox.com/en-us/api-reference/class/TextLabel), [ImageLabel](https://developer.roblox.com/en-us/api-reference/class/ImageLabel). The key benefit to using a Frame over a [Folder](https://developer.roblox.com/en-us/api-reference/class/Folder) as a container object is the ability to further manipulate the `GuiObject.Size` and `GuiObject.Position` of any descendant [GuiObject](https://developer.roblox.com/en-us/api-reference/class/GuiObject)s. */
@@ -13360,6 +13362,17 @@ interface HeightmapImporterService extends Instance {
13360
13362
  readonly _nominal_HeightmapImporterService: unique symbol;
13361
13363
  }
13362
13364
 
13365
+ interface HiddenSurfaceRemovalAsset extends Instance {
13366
+ /**
13367
+ * **DO NOT USE!**
13368
+ *
13369
+ * This field exists to force TypeScript to recognize this as a nominal type
13370
+ * @hidden
13371
+ * @deprecated
13372
+ */
13373
+ readonly _nominal_HiddenSurfaceRemovalAsset: unique symbol;
13374
+ }
13375
+
13363
13376
  interface Highlight extends Instance {
13364
13377
  /**
13365
13378
  * **DO NOT USE!**
@@ -17755,11 +17768,11 @@ interface JointsService extends Instance {
17755
17768
  */
17756
17769
  CreateJoinAfterMoveJoints(this: JointsService): void;
17757
17770
  /**
17758
- * Sets the PVInstance that will be connected with the target PVInstance specified by [SetJoinAfterMoveTarget](https://developer.roblox.com/api-reference/function/JointsService/SetJoinAfterMoveTarget "SetJoinAfterMoveTarget").
17771
+ * Sets the PVInstance that will be connected with the target PVInstance specified by [JointsService:SetJoinAfterMoveTarget](https://developer.roblox.com/en-us/api-reference/function/JointsService/SetJoinAfterMoveTarget).
17759
17772
  */
17760
17773
  SetJoinAfterMoveInstance(this: JointsService, joinInstance: PVInstance): void;
17761
17774
  /**
17762
- * Sets the PVInstance that will be connected with the PVInstance specified by [SetJoinAfterMoveInstance](https://developer.roblox.com/api-reference/function/JointsService/SetJoinAfterMoveInstance "SetJoinAfterMoveInstance").
17775
+ * Sets the PVInstance that will be connected with the PVInstance specified by [JointsService:SetJoinAfterMoveInstance](https://developer.roblox.com/en-us/api-reference/function/JointsService/SetJoinAfterMoveInstance).
17763
17776
  */
17764
17777
  SetJoinAfterMoveTarget(this: JointsService, joinTarget: PVInstance): void;
17765
17778
  /**
@@ -20439,8 +20452,11 @@ interface MaterialService extends Instance {
20439
20452
  */
20440
20453
  readonly _nominal_MaterialService: unique symbol;
20441
20454
  ClearOverridePartMaterial(this: MaterialService, material: CastsToEnum<Enum.Material>): void;
20455
+ ClearOverrideTerrainMaterial(this: MaterialService, material: CastsToEnum<Enum.Material>): void;
20442
20456
  GetOverridePartMaterial(this: MaterialService, material: CastsToEnum<Enum.Material>): MaterialVariant;
20457
+ GetOverrideTerrainMaterial(this: MaterialService, material: CastsToEnum<Enum.Material>): MaterialVariant;
20443
20458
  SetOverridePartMaterial(this: MaterialService, materialVariant: MaterialVariant): void;
20459
+ SetOverrideTerrainMaterial(this: MaterialService, materialVariant: MaterialVariant): void;
20444
20460
  }
20445
20461
 
20446
20462
  interface MaterialVariant extends Instance {
@@ -20452,6 +20468,7 @@ interface MaterialVariant extends Instance {
20452
20468
  * @deprecated
20453
20469
  */
20454
20470
  readonly _nominal_MaterialVariant: unique symbol;
20471
+ MaterialPattern: Enum.MaterialPattern;
20455
20472
  StudsPerTile: number;
20456
20473
  }
20457
20474
 
@@ -23210,7 +23227,7 @@ interface Model extends PVInstance {
23210
23227
  TranslateBy(this: Model, delta: Vector3): void;
23211
23228
  }
23212
23229
 
23213
- /** Actor */
23230
+ /** Actor Class */
23214
23231
  interface Actor extends Model {
23215
23232
  /**
23216
23233
  * **DO NOT USE!**
@@ -24159,6 +24176,11 @@ interface ParticleEmitter extends Instance {
24159
24176
  * If you want no particles to render, you should call [ParticleEmitter:Clear](https://developer.roblox.com/en-us/api-reference/function/ParticleEmitter/Clear) to clear any existing particles. You can use [ParticleEmitter:Emit](https://developer.roblox.com/en-us/api-reference/function/ParticleEmitter/Emit) on disabled [ParticleEmitter](https://developer.roblox.com/en-us/api-reference/class/ParticleEmitter)s and they will still emit and render particles.
24160
24177
  */
24161
24178
  Enabled: boolean;
24179
+ FlipbookFramerate: NumberRange;
24180
+ FlipbookIncompatible: string;
24181
+ FlipbookLayout: Enum.ParticleFlipbookLayout;
24182
+ FlipbookMode: Enum.ParticleFlipbookMode;
24183
+ FlipbookStartRandom: boolean;
24162
24184
  /**
24163
24185
  * The Lifetime property defines the maximum and minimum ages a newly emit particle will. When a particle is emit, a random lifetime is chosen uniformly. Lifetimes are stored on a per-particle basis, so if this value is changed, existing particles will stay “alive” until their randomly chosen lifetime is lived. The bounds for this property should be in the range \[0, 20\]. By default, [ParticleEmitter](https://developer.roblox.com/en-us/api-reference/class/ParticleEmitter)s will have a lifetime of 5 to 10 seconds. A lifetime of 0 will prevent particles from being emit in the first place.
24164
24186
  *
@@ -24648,19 +24670,19 @@ interface PhysicsService extends Instance {
24648
24670
  * This function will throw a runtime error in the following circumstances:
24649
24671
  *
24650
24672
  * * The specified group does not exist.
24651
- * * The specified part is not a BasePart.Returns whether the part is in the collision group.
24673
+ * * The specified part is not a BasePart.
24652
24674
  */
24653
24675
  CollisionGroupContainsPart(this: PhysicsService, name: string, part: BasePart): boolean;
24654
24676
  /**
24655
24677
  * Sets the collision status between two groups.
24656
24678
  *
24657
- * This function will throw an error if either of the groups do not exist.Sets the collision status between two groups.
24679
+ * This function will throw an error if either of the groups do not exist.
24658
24680
  */
24659
24681
  CollisionGroupSetCollidable(this: PhysicsService, name1: string, name2: string, collidable: boolean): void;
24660
24682
  /**
24661
24683
  * Returns whether the two specified collision groups will collide.
24662
24684
  *
24663
- * This function will throw an error if either of the groups do not exist.Returns whether the two groups will collide.
24685
+ * This function will throw an error if either of the groups do not exist.
24664
24686
  */
24665
24687
  CollisionGroupsAreCollidable(this: PhysicsService, name1: string, name2: string): boolean;
24666
24688
  /**
@@ -24676,7 +24698,7 @@ interface PhysicsService extends Instance {
24676
24698
  /**
24677
24699
  * Returns the name of the collision group with the corresponding id. This function will return nil if the group with the corresponding id has not been named.
24678
24700
  *
24679
- * This function will throw an error if the id is not in the range of 0 <= id < maxCollisionGroupsReturns the name of the group with the corresponding id.
24701
+ * This function will throw an error if the id is not in the range of 0 <= id < maxCollisionGroups
24680
24702
  */
24681
24703
  GetCollisionGroupName(this: PhysicsService, name: number): string;
24682
24704
  /**
@@ -24719,7 +24741,7 @@ interface PhysicsService extends Instance {
24719
24741
  * This function will throw a runtime error in the following circumstances:
24720
24742
  *
24721
24743
  * * The name “Default” is provided.
24722
- * * The function is called from a client.Removes the collision group with the given name.
24744
+ * * The function is called from a client.
24723
24745
  */
24724
24746
  RemoveCollisionGroup(this: PhysicsService, name: string): void;
24725
24747
  /**
@@ -24730,7 +24752,7 @@ interface PhysicsService extends Instance {
24730
24752
  * This function will throw a runtime error in the following circumstances:
24731
24753
  *
24732
24754
  * * Invalid or empty name provided for either argument.
24733
- * * The function is called from a client.Renames specified collision group.
24755
+ * * The function is called from a client.
24734
24756
  */
24735
24757
  RenameCollisionGroup(this: PhysicsService, from: string, to: string): void;
24736
24758
  /**
@@ -26659,7 +26681,9 @@ interface RemoteEvent<T extends Callback = Callback> extends Instance {
26659
26681
  *
26660
26682
  * Since this function is used to communicate from the server to the client, it will only work when used in a [Script](https://developer.roblox.com/en-us/api-reference/class/Script).
26661
26683
  *
26662
- * The functionality of this function, as well as other [RemoteEvent](https://developer.roblox.com/en-us/api-reference/class/RemoteEvent) and [RemoteFunction](https://developer.roblox.com/en-us/api-reference/class/RemoteFunction) events and functions, is well documented in [this](https://developer.roblox.com/articles/Remote-Functions-and-Events) article.
26684
+ * The behavior of this function, as well as other [RemoteEvent](https://developer.roblox.com/en-us/api-reference/class/RemoteEvent) and [RemoteFunction](https://developer.roblox.com/en-us/api-reference/class/RemoteFunction) events and functions, is well documented in [this](https://developer.roblox.com/articles/Remote-Functions-and-Events) article.
26685
+ *
26686
+ * There are limitations on the kinds of data that can be passed between the client and server. For more information, see [Parameter Limitations](https://developer.roblox.com/articles/Remote-Functions-and-Events#parameter-limitations).
26663
26687
  *
26664
26688
  * Note
26665
26689
  * ----
@@ -26672,6 +26696,8 @@ interface RemoteEvent<T extends Callback = Callback> extends Instance {
26672
26696
  *
26673
26697
  * Since this function is used for communication from server to client, so it will only work when used by a server-side [Script](https://developer.roblox.com/en-us/api-reference/class/Script). For client-to-server communication (the other direction), use [FireServer](https://developer.roblox.com/en-us/api-reference/function/RemoteEvent/FireServer). Direct client-to-client communication not possible on Roblox; however, it can be simulated using a [Script](https://developer.roblox.com/en-us/api-reference/class/Script) that relays information received through some other means, such as [FireServer](https://developer.roblox.com/en-us/api-reference/function/RemoteEvent/FireServer).
26674
26698
  *
26699
+ * There are limitations on the kinds of data that can be passed between the client and server. For more information, see [Parameter Limitations](https://developer.roblox.com/articles/Remote-Functions-and-Events#parameter-limitations).
26700
+ *
26675
26701
  * See also
26676
26702
  * --------
26677
26703
  *
@@ -26689,7 +26715,9 @@ interface RemoteEvent<T extends Callback = Callback> extends Instance {
26689
26715
  *
26690
26716
  * When firing from the client note that nothing has to be passed in by default (unlike firing to the client from the server - where the player is passed in).
26691
26717
  *
26692
- * The functionality of this function, as well as other [RemoteEvent](https://developer.roblox.com/en-us/api-reference/class/RemoteEvent) and [RemoteFunction](https://developer.roblox.com/en-us/api-reference/class/RemoteFunction) events and functions, is well documented in [this](https://developer.roblox.com/articles/Remote-Functions-and-Events) article.
26718
+ * The behavior of this function, as well as other [RemoteEvent](https://developer.roblox.com/en-us/api-reference/class/RemoteEvent) and [RemoteFunction](https://developer.roblox.com/en-us/api-reference/class/RemoteFunction) events and functions, is well documented in [this](https://developer.roblox.com/articles/Remote-Functions-and-Events) article.
26719
+ *
26720
+ * There are limitations on the kinds of data that can be passed between the client and server. For more information, see [Parameter Limitations](https://developer.roblox.com/articles/Remote-Functions-and-Events#parameter-limitations).
26693
26721
  */
26694
26722
  FireServer(this: RemoteEvent, ...args: Parameters<T>): void;
26695
26723
  /**
@@ -26746,7 +26774,9 @@ interface RemoteFunction<T extends Callback = Callback> extends Instance {
26746
26774
  * Warning
26747
26775
  * -------
26748
26776
  *
26749
- * If a client disconnects or leaves the game while it is being invoked from the server, the InvokeClient function will error. It is therefore recommended to wrap this function in a pcall so it does stop the execution of other code.
26777
+ * If a client disconnects or leaves the game while it is being invoked from the server, the InvokeClient function will error. It is therefore recommended to wrap this function in a pcall so it doesn't stop the execution of other code.
26778
+ *
26779
+ * There are limitations on the kinds of data that can be passed between the client and server. For more information, see [Parameter Limitations](https://developer.roblox.com/articles/Remote-Functions-and-Events#parameter-limitations).
26750
26780
  * Tags: Yields
26751
26781
  */
26752
26782
  InvokeClient(this: RemoteFunction, player: Player, ...args: Parameters<T>): unknown;
@@ -26763,6 +26793,8 @@ interface RemoteFunction<T extends Callback = Callback> extends Instance {
26763
26793
  * ----
26764
26794
  *
26765
26795
  * When handling the invocation from the client note that nothing has to be passed in by default (unlike invoking the server where the player is passed in).
26796
+ *
26797
+ * There are limitations on the kinds of data that can be passed between the client and server. For more information, see [Parameter Limitations](https://developer.roblox.com/articles/Remote-Functions-and-Events#parameter-limitations).
26766
26798
  * Tags: Yields
26767
26799
  */
26768
26800
  InvokeServer(this: RemoteFunction, ...args: Parameters<T>): ReturnType<T>;
@@ -30576,6 +30608,17 @@ interface TerrainRegion extends Instance {
30576
30608
  readonly SizeInCells: Vector3;
30577
30609
  }
30578
30610
 
30611
+ interface TextBoxService extends Instance {
30612
+ /**
30613
+ * **DO NOT USE!**
30614
+ *
30615
+ * This field exists to force TypeScript to recognize this as a nominal type
30616
+ * @hidden
30617
+ * @deprecated
30618
+ */
30619
+ readonly _nominal_TextBoxService: unique symbol;
30620
+ }
30621
+
30579
30622
  interface TextChannel extends Instance {
30580
30623
  /**
30581
30624
  * **DO NOT USE!**
@@ -34263,6 +34306,9 @@ interface Vector3Curve extends Instance {
34263
34306
  * @deprecated
34264
34307
  */
34265
34308
  readonly _nominal_Vector3Curve: unique symbol;
34309
+ /**
34310
+ * Samples the 3 FloatCurves (X, Y, Z) at the time passed as argument. Returns the 3 samples as a tuple of 3 numbers. If a channel curve is missing or no key is found in the curve the channel is evaluated as nil.
34311
+ */
34266
34312
  GetValueAtTime(this: Vector3Curve, time: number): unknown;
34267
34313
  /**
34268
34314
  * Returns the FloatCurve controlling the X channel. It is the first child instance of type FloatCurve named `X`. If none is found an empty FloatCurve is created.
@@ -3394,6 +3394,7 @@ interface Studio extends Instance {
3394
3394
  readonly ["Show Light Guides"]: boolean;
3395
3395
  readonly ["Show Navigation Areas"]: boolean;
3396
3396
  ["Show Navigation Mesh"]: boolean;
3397
+ readonly ["Show Pathfinding Links"]: boolean;
3397
3398
  ["Show Plugin GUI Service in Explorer"]: boolean;
3398
3399
  ["Show QT warnings in output"]: boolean;
3399
3400
  ["Show Whitespace"]: boolean;
@@ -3615,6 +3616,7 @@ interface StudioService extends Instance {
3615
3616
  AnimationIdSelected(this: StudioService, id: number): void;
3616
3617
  ConvertToPackageUpload(this: StudioService, uploadUrl: string): void;
3617
3618
  CopyToClipboard(this: StudioService, stringToCopy: string): void;
3619
+ DEPRECATED_SetDocumentDisplayName(this: StudioService, newName: string): void;
3618
3620
  EmitPlacePublishedSignal(this: StudioService): void;
3619
3621
  GetBadgeConfigureUrl(this: StudioService, badgeId: number): string;
3620
3622
  GetBadgeUploadUrl(this: StudioService): string;
@@ -3641,6 +3643,7 @@ interface StudioService extends Instance {
3641
3643
  * displayClassIcon(imageLabel, "Part")
3642
3644
  */
3643
3645
  GetClassIcon(this: StudioService, className: string): object;
3646
+ GetPlaceIsPersistedToCloud(this: StudioService): boolean;
3644
3647
  GetResourceByCategory(this: StudioService, category: string): object;
3645
3648
  GetStartupAssetId(this: StudioService): string;
3646
3649
  GetStartupPluginId(this: StudioService): string;
@@ -3649,17 +3652,18 @@ interface StudioService extends Instance {
3649
3652
  * Returns the studio user's userId if they're logged in, otherwise returns 0.
3650
3653
  */
3651
3654
  GetUserId(this: StudioService): number;
3655
+ GetUserIsInTeamCreateToggleRamp(this: StudioService): boolean;
3652
3656
  GizmoRaycast(this: StudioService, origin: Vector3, direction: Vector3, raycastParams?: RaycastParams): RaycastResult;
3653
3657
  HasInternalPermission(this: StudioService): boolean;
3654
3658
  IsPluginInstalled(this: StudioService, assetId: number): boolean;
3655
3659
  IsPluginUpToDate(this: StudioService, assetId: number, currentAssetVersion: number): boolean;
3656
3660
  OpenInBrowser_DONOTUSE(this: StudioService, url: string): void;
3657
- PromptForLocalSave(this: StudioService): void;
3658
3661
  PublishAs(this: StudioService, universeId: number, placeId: number, groupId: number): void;
3662
+ RefreshDocumentDisplayName(this: StudioService): void;
3659
3663
  RequestClose(this: StudioService, closeMode: CastsToEnum<Enum.StudioCloseMode>): void;
3660
3664
  SerializeInstances(this: StudioService, instances: Array<Instance>): string;
3661
- SetDocumentDisplayName(this: StudioService, newName: string): void;
3662
3665
  SetPluginEnabled(this: StudioService, assetId: number, state: boolean): void;
3666
+ SetTurnOnTeamCreateOnPublish(this: StudioService, turnOn: boolean): void;
3663
3667
  SetUniverseDisplayName(this: StudioService, newName: string): void;
3664
3668
  ShowPlaceVersionHistoryDialog(this: StudioService, placeId: number): void;
3665
3669
  ShowPublishToRoblox(this: StudioService): void;
@@ -3692,7 +3696,6 @@ interface StudioService extends Instance {
3692
3696
  * Tags: Yields
3693
3697
  */
3694
3698
  TryInstallPlugin(this: StudioService, assetId: number, assetVersionId: number): void;
3695
- readonly FirstPublishOfCloudPlace: RBXScriptSignal<(universeId: number, placeId: number) => void>;
3696
3699
  readonly GameNameUpdated: RBXScriptSignal<(name: string) => void>;
3697
3700
  readonly GamePublishFinished: RBXScriptSignal<(success: boolean, gameId: number) => void>;
3698
3701
  readonly OnConvertToPackageResult: RBXScriptSignal<(isSuccessful: boolean, errorMessage: string) => void>;
@@ -4088,3 +4091,18 @@ interface VersionControlService extends Instance {
4088
4091
  readonly ScriptCollabEnabled: boolean;
4089
4092
  }
4090
4093
 
4094
+ interface VoiceChatService extends Instance {
4095
+ /**
4096
+ * **DO NOT USE!**
4097
+ *
4098
+ * This field exists to force TypeScript to recognize this as a nominal type
4099
+ * @hidden
4100
+ * @deprecated
4101
+ */
4102
+ readonly _nominal_VoiceChatService: unique symbol;
4103
+ /**
4104
+ * Tags: NotBrowsable
4105
+ */
4106
+ GenerateDefaultChannel: boolean;
4107
+ }
4108
+