@rbxts/types 1.0.896 → 1.0.902
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.
- package/README.md +2 -0
- package/include/generated/None.d.ts +496 -82
- package/include/generated/PluginSecurity.d.ts +140 -27
- package/include/generated/enums.d.ts +228 -53
- package/package.json +1 -1
|
@@ -98,6 +98,7 @@ interface Services {
|
|
|
98
98
|
IncrementalPatchBuilder: IncrementalPatchBuilder;
|
|
99
99
|
InsertService: InsertService;
|
|
100
100
|
InstanceExtensionsService: InstanceExtensionsService;
|
|
101
|
+
InstanceFileSyncService: InstanceFileSyncService;
|
|
101
102
|
InternalSyncService: InternalSyncService;
|
|
102
103
|
IXPService: IXPService;
|
|
103
104
|
JointsService: JointsService;
|
|
@@ -822,7 +823,7 @@ interface AnimationNode extends RBXObject {
|
|
|
822
823
|
readonly _nominal_AnimationNode: unique symbol;
|
|
823
824
|
}
|
|
824
825
|
/**
|
|
825
|
-
* A class which defines a piece of content, such as a
|
|
826
|
+
* A class which defines a piece of content, such as a screenshot or video, taken in-experience.
|
|
826
827
|
*
|
|
827
828
|
* - **Tags**: NotCreatable, NotReplicated
|
|
828
829
|
*
|
|
@@ -873,6 +874,8 @@ interface VideoCapture extends Capture {
|
|
|
873
874
|
readonly _nominal_VideoCapture: unique symbol;
|
|
874
875
|
}
|
|
875
876
|
/**
|
|
877
|
+
* A snapshot of configuration values at a given version. Can be player-specific.
|
|
878
|
+
*
|
|
876
879
|
* - **Tags**: NotCreatable, NotReplicated
|
|
877
880
|
*
|
|
878
881
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ConfigSnapshot)
|
|
@@ -3405,6 +3408,8 @@ interface CommerceService extends Instance {
|
|
|
3405
3408
|
readonly _nominal_CommerceService: unique symbol;
|
|
3406
3409
|
}
|
|
3407
3410
|
/**
|
|
3411
|
+
* An animation curve that groups child `FloatCurves` which each animate a different component of a non-unary value.
|
|
3412
|
+
*
|
|
3408
3413
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/CompositeValueCurve)
|
|
3409
3414
|
*/
|
|
3410
3415
|
interface CompositeValueCurve extends Instance {
|
|
@@ -3418,6 +3423,8 @@ interface CompositeValueCurve extends Instance {
|
|
|
3418
3423
|
readonly _nominal_CompositeValueCurve: unique symbol;
|
|
3419
3424
|
}
|
|
3420
3425
|
/**
|
|
3426
|
+
* A game service that gives access to in-experience configuration with updates in real time.
|
|
3427
|
+
*
|
|
3421
3428
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
3422
3429
|
*
|
|
3423
3430
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ConfigService)
|
|
@@ -3542,6 +3549,8 @@ interface AngularVelocity extends Constraint {
|
|
|
3542
3549
|
/**
|
|
3543
3550
|
* Aligns two `BaseParts` with an animate-able kinematic or force-based joint.
|
|
3544
3551
|
*
|
|
3552
|
+
* - **Tags**: NotBrowsable
|
|
3553
|
+
*
|
|
3545
3554
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AnimationConstraint)
|
|
3546
3555
|
*/
|
|
3547
3556
|
interface AnimationConstraint extends Constraint {
|
|
@@ -7199,6 +7208,45 @@ interface InstanceExtensionsService extends Instance {
|
|
|
7199
7208
|
*/
|
|
7200
7209
|
readonly _nominal_InstanceExtensionsService: unique symbol;
|
|
7201
7210
|
}
|
|
7211
|
+
/**
|
|
7212
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
7213
|
+
*
|
|
7214
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InstanceFileSyncService)
|
|
7215
|
+
*/
|
|
7216
|
+
interface InstanceFileSyncService extends Instance {
|
|
7217
|
+
/**
|
|
7218
|
+
* **DO NOT USE!**
|
|
7219
|
+
*
|
|
7220
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
7221
|
+
* @hidden
|
|
7222
|
+
* @deprecated
|
|
7223
|
+
*/
|
|
7224
|
+
readonly _nominal_InstanceFileSyncService: unique symbol;
|
|
7225
|
+
/**
|
|
7226
|
+
* - **ThreadSafety**: Unsafe
|
|
7227
|
+
*
|
|
7228
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InstanceFileSyncService#GetAllInstances)
|
|
7229
|
+
*/
|
|
7230
|
+
GetAllInstances(this: InstanceFileSyncService): Array<Instance>;
|
|
7231
|
+
/**
|
|
7232
|
+
* - **ThreadSafety**: Unsafe
|
|
7233
|
+
*
|
|
7234
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InstanceFileSyncService#GetStatus)
|
|
7235
|
+
*/
|
|
7236
|
+
GetStatus(this: InstanceFileSyncService, instance: Instance): Enum.InstanceFileSyncStatus;
|
|
7237
|
+
/**
|
|
7238
|
+
* - **ThreadSafety**: Unsafe
|
|
7239
|
+
*
|
|
7240
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InstanceFileSyncService#GetSyncedInstance)
|
|
7241
|
+
*/
|
|
7242
|
+
GetSyncedInstance(this: InstanceFileSyncService, filePath: string): Instance | undefined;
|
|
7243
|
+
/**
|
|
7244
|
+
* - **ThreadSafety**: Unsafe
|
|
7245
|
+
*
|
|
7246
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InstanceFileSyncService#StatusChanged)
|
|
7247
|
+
*/
|
|
7248
|
+
readonly StatusChanged: RBXScriptSignal<(instance: Instance, status: Enum.InstanceFileSyncStatus) => void>;
|
|
7249
|
+
}
|
|
7202
7250
|
/**
|
|
7203
7251
|
* - **Tags**: NotReplicated
|
|
7204
7252
|
*
|
|
@@ -10197,11 +10245,11 @@ interface Plugin extends Instance {
|
|
|
10197
10245
|
*
|
|
10198
10246
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Plugin#Activate)
|
|
10199
10247
|
* @param this
|
|
10200
|
-
* @param exclusiveMouse A boolean specifying whether to activate the plugin with exclusive mouse. If true
|
|
10248
|
+
* @param exclusiveMouse A boolean specifying whether to activate the plugin with exclusive mouse. If `true`, a `PluginMouse` can be retrieved via `GetMouse()`.
|
|
10201
10249
|
*/
|
|
10202
10250
|
Activate(this: Plugin, exclusiveMouse: boolean): void;
|
|
10203
10251
|
/**
|
|
10204
|
-
* Creates a `PluginAction` which
|
|
10252
|
+
* Creates a `PluginAction` which represents a generic performable action in Studio with no directly‑associated `PluginToolbarButton`.
|
|
10205
10253
|
*
|
|
10206
10254
|
* - **ThreadSafety**: Unsafe
|
|
10207
10255
|
*
|
|
@@ -10222,8 +10270,8 @@ interface Plugin extends Instance {
|
|
|
10222
10270
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Plugin#CreatePluginMenu)
|
|
10223
10271
|
* @param this
|
|
10224
10272
|
* @param id Unique ID for the menu.
|
|
10225
|
-
* @param title The text to be displayed when used as a
|
|
10226
|
-
* @param icon The icon to be displayed when used as a
|
|
10273
|
+
* @param title The text to be displayed when used as a submenu.
|
|
10274
|
+
* @param icon The icon to be displayed when used as a submenu.
|
|
10227
10275
|
*/
|
|
10228
10276
|
CreatePluginMenu(this: Plugin, id: string, title?: string, icon?: string): PluginMenu;
|
|
10229
10277
|
/**
|
|
@@ -10246,7 +10294,7 @@ interface Plugin extends Instance {
|
|
|
10246
10294
|
*/
|
|
10247
10295
|
Deactivate(this: Plugin): void;
|
|
10248
10296
|
/**
|
|
10249
|
-
* Returns the `JointCreationMode` the user has set in Studio
|
|
10297
|
+
* Returns the `JointCreationMode` the user has set in Studio's toolbar.
|
|
10250
10298
|
*
|
|
10251
10299
|
* - **ThreadSafety**: Unsafe
|
|
10252
10300
|
*
|
|
@@ -10297,6 +10345,8 @@ interface Plugin extends Instance {
|
|
|
10297
10345
|
*/
|
|
10298
10346
|
GetStudioUserId(this: Plugin): number;
|
|
10299
10347
|
/**
|
|
10348
|
+
* Intersects the given parts and returns the resulting `IntersectOperation`.
|
|
10349
|
+
*
|
|
10300
10350
|
* - **ThreadSafety**: Unsafe
|
|
10301
10351
|
*
|
|
10302
10352
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Plugin#Intersect)
|
|
@@ -10305,7 +10355,7 @@ interface Plugin extends Instance {
|
|
|
10305
10355
|
*/
|
|
10306
10356
|
Intersect(this: Plugin, objects: Array<Instance>): Instance | undefined;
|
|
10307
10357
|
/**
|
|
10308
|
-
* Returns true if this plugin is currently active, after having been activated via the `
|
|
10358
|
+
* Returns `true` if this plugin is currently active, after having been activated via the `Activate()` function.
|
|
10309
10359
|
*
|
|
10310
10360
|
* - **ThreadSafety**: Unsafe
|
|
10311
10361
|
*
|
|
@@ -10315,7 +10365,7 @@ interface Plugin extends Instance {
|
|
|
10315
10365
|
*/
|
|
10316
10366
|
IsActivated(this: Plugin): boolean;
|
|
10317
10367
|
/**
|
|
10318
|
-
* Returns true if this plugin is currently active with an exclusive mouse
|
|
10368
|
+
* Returns `true` if this plugin is currently active with an exclusive mouse.
|
|
10319
10369
|
*
|
|
10320
10370
|
* - **ThreadSafety**: Unsafe
|
|
10321
10371
|
*
|
|
@@ -10325,7 +10375,7 @@ interface Plugin extends Instance {
|
|
|
10325
10375
|
*/
|
|
10326
10376
|
IsActivatedWithExclusiveMouse(this: Plugin): boolean;
|
|
10327
10377
|
/**
|
|
10328
|
-
* Negates the given parts and returns the resulting NegateOperations
|
|
10378
|
+
* Negates the given parts and returns the resulting `NegateOperations`.
|
|
10329
10379
|
*
|
|
10330
10380
|
* - **ThreadSafety**: Unsafe
|
|
10331
10381
|
*
|
|
@@ -10381,7 +10431,7 @@ interface Plugin extends Instance {
|
|
|
10381
10431
|
*/
|
|
10382
10432
|
SelectRibbonTool(this: Plugin, tool: CastsToEnum<Enum.RibbonTool>, position: UDim2): void;
|
|
10383
10433
|
/**
|
|
10384
|
-
* Separates the given UnionOperations and returns the resulting parts.
|
|
10434
|
+
* Separates the given `UnionOperations` and returns the resulting parts.
|
|
10385
10435
|
*
|
|
10386
10436
|
* - **ThreadSafety**: Unsafe
|
|
10387
10437
|
*
|
|
@@ -10412,7 +10462,7 @@ interface Plugin extends Instance {
|
|
|
10412
10462
|
*/
|
|
10413
10463
|
StartDrag(this: Plugin, dragData: object): void;
|
|
10414
10464
|
/**
|
|
10415
|
-
* Unions the given parts and returns the resulting UnionOperation
|
|
10465
|
+
* Unions the given parts and returns the resulting `UnionOperation`.
|
|
10416
10466
|
*
|
|
10417
10467
|
* - **ThreadSafety**: Unsafe
|
|
10418
10468
|
*
|
|
@@ -10422,6 +10472,8 @@ interface Plugin extends Instance {
|
|
|
10422
10472
|
*/
|
|
10423
10473
|
Union(this: Plugin, objects: Array<BasePart>): UnionOperation;
|
|
10424
10474
|
/**
|
|
10475
|
+
* **Deprecated:** This method has been superseded by `CreateDockWidgetPluginGuiAsync()`.
|
|
10476
|
+
*
|
|
10425
10477
|
* Creates a `DockWidgetPluginGui` given a `DockWidgetPluginGuiInfo`.
|
|
10426
10478
|
*
|
|
10427
10479
|
* - **ThreadSafety**: Unsafe
|
|
@@ -10436,14 +10488,21 @@ interface Plugin extends Instance {
|
|
|
10436
10488
|
*/
|
|
10437
10489
|
CreateDockWidgetPluginGui(this: Plugin, pluginGuiId: string, dockWidgetPluginGuiInfo: DockWidgetPluginGuiInfo): DockWidgetPluginGui;
|
|
10438
10490
|
/**
|
|
10491
|
+
* Creates a `DockWidgetPluginGui` given a `DockWidgetPluginGuiInfo`.
|
|
10492
|
+
*
|
|
10439
10493
|
* - **ThreadSafety**: Unsafe
|
|
10440
10494
|
* - **Tags**: Yields
|
|
10441
10495
|
*
|
|
10442
10496
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Plugin#CreateDockWidgetPluginGuiAsync)
|
|
10497
|
+
* @param this
|
|
10498
|
+
* @param pluginGuiId A unique and consistent identifier used to storing the widget's dock state and other internal details.
|
|
10499
|
+
* @param dockWidgetPluginGuiInfo Describes the `DockWidgetPluginGui` to create (initial state, size, etc).
|
|
10443
10500
|
*/
|
|
10444
10501
|
CreateDockWidgetPluginGuiAsync(this: Plugin, pluginGuiId: string, dockWidgetPluginGuiInfo: DockWidgetPluginGuiInfo): DockWidgetPluginGui;
|
|
10445
10502
|
/**
|
|
10446
|
-
*
|
|
10503
|
+
* **Deprecated:**
|
|
10504
|
+
*
|
|
10505
|
+
* Prompts the user to open a `.fbx` animation file that can be loaded onto the `rigModel`, then proceeds to insert the animation as a `KeyframeSequence` in the `Workspace`.
|
|
10447
10506
|
*
|
|
10448
10507
|
* - **ThreadSafety**: Unsafe
|
|
10449
10508
|
* - **Tags**: Yields
|
|
@@ -10457,14 +10516,21 @@ interface Plugin extends Instance {
|
|
|
10457
10516
|
*/
|
|
10458
10517
|
ImportFbxAnimation(this: Plugin, rigModel: Instance, isR15?: boolean): Instance | undefined;
|
|
10459
10518
|
/**
|
|
10519
|
+
* Prompts the user to open a `.fbx` animation file that can be loaded onto the `rigModel`, then proceeds to insert the animation as a `KeyframeSequence` in the `Workspace`.
|
|
10520
|
+
*
|
|
10460
10521
|
* - **ThreadSafety**: Unsafe
|
|
10461
10522
|
* - **Tags**: Yields
|
|
10462
10523
|
*
|
|
10463
10524
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Plugin#ImportFbxAnimationAsync)
|
|
10525
|
+
* @param this
|
|
10526
|
+
* @param rigModel
|
|
10527
|
+
* @param isR15
|
|
10464
10528
|
*/
|
|
10465
10529
|
ImportFbxAnimationAsync(this: Plugin, rigModel: Instance, isR15?: boolean): Instance | undefined;
|
|
10466
10530
|
/**
|
|
10467
|
-
*
|
|
10531
|
+
* **Deprecated:**
|
|
10532
|
+
*
|
|
10533
|
+
* Prompts the user to open a `.fbx` file, uploads the individual components of the model as meshes, and generates a character rig for use in animation, which is loaded into the `Workspace`.
|
|
10468
10534
|
*
|
|
10469
10535
|
* - **ThreadSafety**: Unsafe
|
|
10470
10536
|
* - **Tags**: Yields
|
|
@@ -10477,14 +10543,18 @@ interface Plugin extends Instance {
|
|
|
10477
10543
|
*/
|
|
10478
10544
|
ImportFbxRig(this: Plugin, isR15?: boolean): Model;
|
|
10479
10545
|
/**
|
|
10546
|
+
* Prompts the user to open a `.fbx` file, uploads the individual components of the model as meshes, and generates a character rig for use in animation, which is loaded into the `Workspace`.
|
|
10547
|
+
*
|
|
10480
10548
|
* - **ThreadSafety**: Unsafe
|
|
10481
10549
|
* - **Tags**: Yields
|
|
10482
10550
|
*
|
|
10483
10551
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Plugin#ImportFbxRigAsync)
|
|
10552
|
+
* @param this
|
|
10553
|
+
* @param isR15
|
|
10484
10554
|
*/
|
|
10485
10555
|
ImportFbxRigAsync(this: Plugin, isR15?: boolean): Instance | undefined;
|
|
10486
10556
|
/**
|
|
10487
|
-
* Opens a window in Roblox Studio
|
|
10557
|
+
* Opens a window in Roblox Studio which prompts the user to select an asset based on the `assetType` specified.
|
|
10488
10558
|
*
|
|
10489
10559
|
* - **ThreadSafety**: Unsafe
|
|
10490
10560
|
* - **Tags**: Yields
|
|
@@ -10495,14 +10565,20 @@ interface Plugin extends Instance {
|
|
|
10495
10565
|
*/
|
|
10496
10566
|
PromptForExistingAssetId(this: Plugin, assetType: string): number;
|
|
10497
10567
|
/**
|
|
10568
|
+
* Opens a window in Roblox Studio which prompts the user to select an asset based on the `assetType` specified.
|
|
10569
|
+
*
|
|
10498
10570
|
* - **ThreadSafety**: Unsafe
|
|
10499
10571
|
* - **Tags**: Yields
|
|
10500
10572
|
*
|
|
10501
10573
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Plugin#PromptForExistingAssetIdAsync)
|
|
10574
|
+
* @param this
|
|
10575
|
+
* @param assetType
|
|
10502
10576
|
*/
|
|
10503
10577
|
PromptForExistingAssetIdAsync(this: Plugin, assetType: string): number;
|
|
10504
10578
|
/**
|
|
10505
|
-
*
|
|
10579
|
+
* **Deprecated:**
|
|
10580
|
+
*
|
|
10581
|
+
* Prompts the user to save their current selection with the specified file name.
|
|
10506
10582
|
*
|
|
10507
10583
|
* - **ThreadSafety**: Unsafe
|
|
10508
10584
|
* - **Tags**: Yields
|
|
@@ -10515,10 +10591,14 @@ interface Plugin extends Instance {
|
|
|
10515
10591
|
*/
|
|
10516
10592
|
PromptSaveSelection(this: Plugin, suggestedFileName?: string): boolean;
|
|
10517
10593
|
/**
|
|
10594
|
+
* Prompts the user to save their current selection with the specified file name.
|
|
10595
|
+
*
|
|
10518
10596
|
* - **ThreadSafety**: Unsafe
|
|
10519
10597
|
* - **Tags**: Yields
|
|
10520
10598
|
*
|
|
10521
10599
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Plugin#PromptSaveSelectionAsync)
|
|
10600
|
+
* @param this
|
|
10601
|
+
* @param suggestedFileName
|
|
10522
10602
|
*/
|
|
10523
10603
|
PromptSaveSelectionAsync(this: Plugin, suggestedFileName?: string): boolean;
|
|
10524
10604
|
/**
|
|
@@ -10553,7 +10633,7 @@ interface PluginAction extends Instance {
|
|
|
10553
10633
|
*/
|
|
10554
10634
|
readonly _nominal_PluginAction: unique symbol;
|
|
10555
10635
|
/**
|
|
10556
|
-
* Fires when the action is triggered.
|
|
10636
|
+
* Fires when the action is triggered.
|
|
10557
10637
|
*
|
|
10558
10638
|
* - **ThreadSafety**: Unsafe
|
|
10559
10639
|
*
|
|
@@ -10712,7 +10792,7 @@ interface PluginMenu extends Instance {
|
|
|
10712
10792
|
*
|
|
10713
10793
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginMenu#AddMenu)
|
|
10714
10794
|
* @param this A context menu that can be shown in Studio. Displays a list of `PluginActions` and supports submenus.
|
|
10715
|
-
* @param menu The menu to add as a
|
|
10795
|
+
* @param menu The menu to add as a submenu. Uses its `Title` and `Icon` to display.
|
|
10716
10796
|
*/
|
|
10717
10797
|
AddMenu(this: PluginMenu, menu: PluginMenu): void;
|
|
10718
10798
|
/**
|
|
@@ -10722,7 +10802,7 @@ interface PluginMenu extends Instance {
|
|
|
10722
10802
|
*
|
|
10723
10803
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginMenu#AddNewAction)
|
|
10724
10804
|
* @param this A context menu that can be shown in Studio. Displays a list of `PluginActions` and supports submenus.
|
|
10725
|
-
* @param actionId Must be a unique string that identifies this PluginAction from others.
|
|
10805
|
+
* @param actionId Must be a unique string that identifies this `PluginAction` from others.
|
|
10726
10806
|
* @param text The text to be displayed.
|
|
10727
10807
|
* @param icon The icon to be displayed.
|
|
10728
10808
|
* @returns The created `PluginAction`.
|
|
@@ -10796,8 +10876,8 @@ interface PluginToolbar extends Instance {
|
|
|
10796
10876
|
* @param this
|
|
10797
10877
|
* @param buttonId A unique button ID.
|
|
10798
10878
|
* @param tooltip The text displayed in the tooltip shown when a user hovers over the button.
|
|
10799
|
-
* @param iconname The asset ID
|
|
10800
|
-
* @param text
|
|
10879
|
+
* @param iconname The asset ID of the icon displayed in the button.
|
|
10880
|
+
* @param text Optional text displayed under the button icon.
|
|
10801
10881
|
* @returns The created `PluginToolbarButton` instance.
|
|
10802
10882
|
*/
|
|
10803
10883
|
CreateButton(this: PluginToolbar, buttonId: string, tooltip: string, iconname: string, text?: string): PluginToolbarButton;
|
|
@@ -12818,7 +12898,7 @@ interface SoundGroup extends Instance {
|
|
|
12818
12898
|
readonly _nominal_SoundGroup: unique symbol;
|
|
12819
12899
|
}
|
|
12820
12900
|
/**
|
|
12821
|
-
* A service that determines various aspects of how `Sounds` play in the experience.
|
|
12901
|
+
* A service that determines various aspects of how the audio engine works. Most of its properties affect how `Sounds` play in the experience.
|
|
12822
12902
|
*
|
|
12823
12903
|
* - **Tags**: NotCreatable, Service
|
|
12824
12904
|
*
|
|
@@ -12834,6 +12914,8 @@ interface SoundService extends Instance {
|
|
|
12834
12914
|
*/
|
|
12835
12915
|
readonly _nominal_SoundService: unique symbol;
|
|
12836
12916
|
/**
|
|
12917
|
+
* Determines whether the default character sounds will use instances in the advanced audio system vs. `Sounds`.
|
|
12918
|
+
*
|
|
12837
12919
|
* - **ThreadSafety**: ReadSafe
|
|
12838
12920
|
*
|
|
12839
12921
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SoundService#CharacterSoundsUseNewApi)
|
|
@@ -12848,19 +12930,23 @@ interface SoundService extends Instance {
|
|
|
12848
12930
|
*/
|
|
12849
12931
|
DefaultListenerLocation: Enum.ListenerLocation;
|
|
12850
12932
|
/**
|
|
12933
|
+
* Opens the attenuation curve editor in Studio for the provided `AudioEmitter` or `AudioListener` instances.
|
|
12934
|
+
*
|
|
12851
12935
|
* - **ThreadSafety**: Unsafe
|
|
12852
12936
|
*
|
|
12853
12937
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SoundService#OpenAttenuationCurveEditor)
|
|
12854
|
-
* @param this A service that determines various aspects of how `Sounds` play in the experience.
|
|
12855
|
-
* @param selectedCurveObjects
|
|
12938
|
+
* @param this A service that determines various aspects of how the audio engine works. Most of its properties affect how `Sounds` play in the experience.
|
|
12939
|
+
* @param selectedCurveObjects A list of `AudioEmitters` or `AudioListeners`.
|
|
12856
12940
|
*/
|
|
12857
12941
|
OpenAttenuationCurveEditor(this: SoundService, selectedCurveObjects: Array<Instance>): void;
|
|
12858
12942
|
/**
|
|
12943
|
+
* Opens the directional curve editor in Studio for the provided `AudioEmitter` or `AudioListener` instances.
|
|
12944
|
+
*
|
|
12859
12945
|
* - **ThreadSafety**: Unsafe
|
|
12860
12946
|
*
|
|
12861
12947
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SoundService#OpenDirectionalCurveEditor)
|
|
12862
|
-
* @param this A service that determines various aspects of how `Sounds` play in the experience.
|
|
12863
|
-
* @param selectedCurveObjects
|
|
12948
|
+
* @param this A service that determines various aspects of how the audio engine works. Most of its properties affect how `Sounds` play in the experience.
|
|
12949
|
+
* @param selectedCurveObjects A list of `AudioEmitters` or `AudioListeners`.
|
|
12864
12950
|
*/
|
|
12865
12951
|
OpenDirectionalCurveEditor(this: SoundService, selectedCurveObjects: Array<Instance>): void;
|
|
12866
12952
|
}
|
|
@@ -13408,6 +13494,8 @@ interface StudioService extends Instance {
|
|
|
13408
13494
|
*/
|
|
13409
13495
|
GizmoRaycast(this: StudioService, origin: Vector3, direction: Vector3, raycastParams?: RaycastParams): RaycastResult | undefined;
|
|
13410
13496
|
/**
|
|
13497
|
+
* **Deprecated:**
|
|
13498
|
+
*
|
|
13411
13499
|
* Prompts the current Studio user to select one file to add as a `File`.
|
|
13412
13500
|
*
|
|
13413
13501
|
* - **ThreadSafety**: Unsafe
|
|
@@ -13422,13 +13510,20 @@ interface StudioService extends Instance {
|
|
|
13422
13510
|
*/
|
|
13423
13511
|
PromptImportFile(this: StudioService, fileTypeFilter?: Array<unknown>): Instance | undefined;
|
|
13424
13512
|
/**
|
|
13513
|
+
* Prompts the current Studio user to select one file to add as a `File`.
|
|
13514
|
+
*
|
|
13425
13515
|
* - **ThreadSafety**: Unsafe
|
|
13426
13516
|
* - **Tags**: Yields
|
|
13427
13517
|
*
|
|
13428
13518
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioService#PromptImportFileAsync)
|
|
13519
|
+
* @param this Provides access to configuration of Roblox Studio and allows importing files from the user's file system.
|
|
13520
|
+
* @param fileTypeFilter A list of file types that the user is allowed to select. File types are formatted without a period. For example, {"jpg", "png"} would allow only a JPG or PNG file to be selected. If no filter is provided, the filter is `nil` and allows the user to select any file type.
|
|
13521
|
+
* @returns The imported `File`. Returns `nil` if no files were selected, or if the selected file was too large (FileSize greater than 100 megabytes).
|
|
13429
13522
|
*/
|
|
13430
13523
|
PromptImportFileAsync(this: StudioService, fileTypeFilter?: Array<unknown>): Instance | undefined;
|
|
13431
13524
|
/**
|
|
13525
|
+
* **Deprecated:**
|
|
13526
|
+
*
|
|
13432
13527
|
* Prompts the current Studio user to select files to add as `Files`.
|
|
13433
13528
|
*
|
|
13434
13529
|
* - **ThreadSafety**: Unsafe
|
|
@@ -13443,14 +13538,21 @@ interface StudioService extends Instance {
|
|
|
13443
13538
|
*/
|
|
13444
13539
|
PromptImportFiles(this: StudioService, fileTypeFilter?: Array<unknown>): Array<Instance>;
|
|
13445
13540
|
/**
|
|
13541
|
+
* Prompts the current Studio user to select files to add as `Files`.
|
|
13542
|
+
*
|
|
13446
13543
|
* - **ThreadSafety**: Unsafe
|
|
13447
13544
|
* - **Tags**: Yields
|
|
13448
13545
|
*
|
|
13449
13546
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioService#PromptImportFilesAsync)
|
|
13547
|
+
* @param this Provides access to configuration of Roblox Studio and allows importing files from the user's file system.
|
|
13548
|
+
* @param fileTypeFilter A list of file types that the user is allowed to select. File types are formatted without a period. For example, {"jpg", "png"} would allow only JPG and PNG files to be selected. If no filter is provided, the filter is `nil` and allows the user to select any file type.
|
|
13549
|
+
* @returns The imported `Files`. Returns an empty list if no files were selected. Returns `nil` if the user selected one or more files that were too large (FileSize greater than 100 megabytes).
|
|
13450
13550
|
*/
|
|
13451
13551
|
PromptImportFilesAsync(this: StudioService, fileTypeFilter?: Array<unknown>): Array<Instance>;
|
|
13452
13552
|
}
|
|
13453
13553
|
/**
|
|
13554
|
+
* Service allowing plugins to automate and customize Test and Run mode testing.
|
|
13555
|
+
*
|
|
13454
13556
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
13455
13557
|
*
|
|
13456
13558
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioTestService)
|
|
@@ -13469,6 +13571,9 @@ interface StudioTestService extends Instance {
|
|
|
13469
13571
|
* - **Tags**: Yields
|
|
13470
13572
|
*
|
|
13471
13573
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioTestService#ExecutePlayModeAsync)
|
|
13574
|
+
* @param this Service allowing plugins to automate and customize Test and Run mode testing.
|
|
13575
|
+
* @param args Argument passed to the test session, or `nil`.
|
|
13576
|
+
* @returns Value passed from `StudioTestService:EndTest()`, or `nil`.
|
|
13472
13577
|
*/
|
|
13473
13578
|
ExecutePlayModeAsync(this: StudioTestService, args: unknown): unknown;
|
|
13474
13579
|
/**
|
|
@@ -13476,6 +13581,9 @@ interface StudioTestService extends Instance {
|
|
|
13476
13581
|
* - **Tags**: Yields
|
|
13477
13582
|
*
|
|
13478
13583
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioTestService#ExecuteRunModeAsync)
|
|
13584
|
+
* @param this Service allowing plugins to automate and customize Test and Run mode testing.
|
|
13585
|
+
* @param args Argument passed to the test session, or `nil`.
|
|
13586
|
+
* @returns Value passed from `StudioTestService:EndTest()`, or `nil`.
|
|
13479
13587
|
*/
|
|
13480
13588
|
ExecuteRunModeAsync(this: StudioTestService, args: unknown): unknown;
|
|
13481
13589
|
}
|
|
@@ -14060,7 +14168,9 @@ interface TestService extends Instance {
|
|
|
14060
14168
|
*/
|
|
14061
14169
|
readonly _nominal_TestService: unique symbol;
|
|
14062
14170
|
/**
|
|
14063
|
-
*
|
|
14171
|
+
* **Deprecated:**
|
|
14172
|
+
*
|
|
14173
|
+
* Runs scripts which are parented to `TestService`.
|
|
14064
14174
|
*
|
|
14065
14175
|
* - **ThreadSafety**: Unsafe
|
|
14066
14176
|
* - **Tags**: Yields
|
|
@@ -14072,10 +14182,13 @@ interface TestService extends Instance {
|
|
|
14072
14182
|
*/
|
|
14073
14183
|
Run(this: TestService): void;
|
|
14074
14184
|
/**
|
|
14185
|
+
* Runs scripts which are parented to `TestService`.
|
|
14186
|
+
*
|
|
14075
14187
|
* - **ThreadSafety**: Unsafe
|
|
14076
14188
|
* - **Tags**: Yields
|
|
14077
14189
|
*
|
|
14078
14190
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#RunAsync)
|
|
14191
|
+
* @param this A service used by Roblox to run controlled tests of the engine. It is available for developers to use, to a limited degree.
|
|
14079
14192
|
*/
|
|
14080
14193
|
RunAsync(this: TestService): void;
|
|
14081
14194
|
}
|
|
@@ -14210,7 +14323,7 @@ interface ChatWindowConfiguration extends TextChatConfigurations {
|
|
|
14210
14323
|
readonly _nominal_ChatWindowConfiguration: unique symbol;
|
|
14211
14324
|
}
|
|
14212
14325
|
/**
|
|
14213
|
-
*
|
|
14326
|
+
* A data object representing a text chat message.
|
|
14214
14327
|
*
|
|
14215
14328
|
* - **Tags**: NotCreatable
|
|
14216
14329
|
*
|