@rbxts/types 1.0.901 → 1.0.903
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/include/generated/None.d.ts +179 -70
- package/include/generated/PluginSecurity.d.ts +130 -30
- package/include/generated/enums.d.ts +146 -31
- package/package.json +1 -1
|
@@ -51,6 +51,7 @@ interface Services {
|
|
|
51
51
|
ControllerService: ControllerService;
|
|
52
52
|
ConversationalAIAcceptanceService: ConversationalAIAcceptanceService;
|
|
53
53
|
CoreGui: CoreGui;
|
|
54
|
+
CoreGuiConfiguration: CoreGuiConfiguration;
|
|
54
55
|
CoreScriptDebuggingManagerHelper: CoreScriptDebuggingManagerHelper;
|
|
55
56
|
CreationDBService: CreationDBService;
|
|
56
57
|
CreatorStoreService: CreatorStoreService;
|
|
@@ -587,6 +588,7 @@ interface Instances extends Services, CreatableInstances {
|
|
|
587
588
|
AuroraScriptObject: AuroraScriptObject;
|
|
588
589
|
BackpackItem: BackpackItem;
|
|
589
590
|
BanHistoryPages: BanHistoryPages;
|
|
591
|
+
BaseCoreGuiConfiguration: BaseCoreGuiConfiguration;
|
|
590
592
|
BaseImportData: BaseImportData;
|
|
591
593
|
BasePart: BasePart;
|
|
592
594
|
BasePlayerGui: BasePlayerGui;
|
|
@@ -597,6 +599,7 @@ interface Instances extends Services, CreatableInstances {
|
|
|
597
599
|
BodyMover: BodyMover;
|
|
598
600
|
BubbleChatConfiguration: BubbleChatConfiguration;
|
|
599
601
|
CapturesPages: CapturesPages;
|
|
602
|
+
CapturesViewConfiguration: CapturesViewConfiguration;
|
|
600
603
|
CatalogPages: CatalogPages;
|
|
601
604
|
ChannelSelectorSoundEffect: ChannelSelectorSoundEffect;
|
|
602
605
|
ChannelTabsConfiguration: ChannelTabsConfiguration;
|
|
@@ -700,6 +703,7 @@ interface Instances extends Services, CreatableInstances {
|
|
|
700
703
|
PlayerDataRecord: PlayerDataRecord;
|
|
701
704
|
PlayerDataRecordConfig: PlayerDataRecordConfig;
|
|
702
705
|
PlayerGui: PlayerGui;
|
|
706
|
+
PlayerListConfiguration: PlayerListConfiguration;
|
|
703
707
|
PlayerMouse: PlayerMouse;
|
|
704
708
|
PlayerScripts: PlayerScripts;
|
|
705
709
|
Plugin: Plugin;
|
|
@@ -727,6 +731,7 @@ interface Instances extends Services, CreatableInstances {
|
|
|
727
731
|
ScriptDocument: ScriptDocument;
|
|
728
732
|
ScriptRuntime: ScriptRuntime;
|
|
729
733
|
SelectionLasso: SelectionLasso;
|
|
734
|
+
SelfViewConfiguration: SelfViewConfiguration;
|
|
730
735
|
SensorBase: SensorBase;
|
|
731
736
|
ServerReplicator: ServerReplicator;
|
|
732
737
|
ServiceProvider: ServiceProvider;
|
|
@@ -823,7 +828,7 @@ interface AnimationNode extends RBXObject {
|
|
|
823
828
|
readonly _nominal_AnimationNode: unique symbol;
|
|
824
829
|
}
|
|
825
830
|
/**
|
|
826
|
-
* A class which defines a piece of content, such as a
|
|
831
|
+
* A class which defines a piece of content, such as a screenshot or video, taken in-experience.
|
|
827
832
|
*
|
|
828
833
|
* - **Tags**: NotCreatable, NotReplicated
|
|
829
834
|
*
|
|
@@ -1966,7 +1971,7 @@ interface AudioReverb extends Instance {
|
|
|
1966
1971
|
readonly _nominal_AudioReverb: unique symbol;
|
|
1967
1972
|
}
|
|
1968
1973
|
/**
|
|
1969
|
-
* Instance to be passed to `AssetService:
|
|
1974
|
+
* Instance to be passed to `AssetService:SearchAudioAsync()` to search for audio assets.
|
|
1970
1975
|
*
|
|
1971
1976
|
* - **Tags**: NotReplicated
|
|
1972
1977
|
*
|
|
@@ -2267,6 +2272,66 @@ interface BadgeService extends Instance {
|
|
|
2267
2272
|
*/
|
|
2268
2273
|
readonly _nominal_BadgeService: unique symbol;
|
|
2269
2274
|
}
|
|
2275
|
+
/**
|
|
2276
|
+
* - **Tags**: NotCreatable, NotReplicated
|
|
2277
|
+
*
|
|
2278
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/BaseCoreGuiConfiguration)
|
|
2279
|
+
*/
|
|
2280
|
+
interface BaseCoreGuiConfiguration extends Instance {
|
|
2281
|
+
/**
|
|
2282
|
+
* **DO NOT USE!**
|
|
2283
|
+
*
|
|
2284
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2285
|
+
* @hidden
|
|
2286
|
+
* @deprecated
|
|
2287
|
+
*/
|
|
2288
|
+
readonly _nominal_BaseCoreGuiConfiguration: unique symbol;
|
|
2289
|
+
}
|
|
2290
|
+
/**
|
|
2291
|
+
* - **Tags**: NotCreatable, NotReplicated
|
|
2292
|
+
*
|
|
2293
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/CapturesViewConfiguration)
|
|
2294
|
+
*/
|
|
2295
|
+
interface CapturesViewConfiguration extends BaseCoreGuiConfiguration {
|
|
2296
|
+
/**
|
|
2297
|
+
* **DO NOT USE!**
|
|
2298
|
+
*
|
|
2299
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2300
|
+
* @hidden
|
|
2301
|
+
* @deprecated
|
|
2302
|
+
*/
|
|
2303
|
+
readonly _nominal_CapturesViewConfiguration: unique symbol;
|
|
2304
|
+
}
|
|
2305
|
+
/**
|
|
2306
|
+
* - **Tags**: NotCreatable, NotReplicated
|
|
2307
|
+
*
|
|
2308
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PlayerListConfiguration)
|
|
2309
|
+
*/
|
|
2310
|
+
interface PlayerListConfiguration extends BaseCoreGuiConfiguration {
|
|
2311
|
+
/**
|
|
2312
|
+
* **DO NOT USE!**
|
|
2313
|
+
*
|
|
2314
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2315
|
+
* @hidden
|
|
2316
|
+
* @deprecated
|
|
2317
|
+
*/
|
|
2318
|
+
readonly _nominal_PlayerListConfiguration: unique symbol;
|
|
2319
|
+
}
|
|
2320
|
+
/**
|
|
2321
|
+
* - **Tags**: NotCreatable, NotReplicated
|
|
2322
|
+
*
|
|
2323
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SelfViewConfiguration)
|
|
2324
|
+
*/
|
|
2325
|
+
interface SelfViewConfiguration extends BaseCoreGuiConfiguration {
|
|
2326
|
+
/**
|
|
2327
|
+
* **DO NOT USE!**
|
|
2328
|
+
*
|
|
2329
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2330
|
+
* @hidden
|
|
2331
|
+
* @deprecated
|
|
2332
|
+
*/
|
|
2333
|
+
readonly _nominal_SelfViewConfiguration: unique symbol;
|
|
2334
|
+
}
|
|
2270
2335
|
/**
|
|
2271
2336
|
* - **Tags**: NotCreatable, NotReplicated
|
|
2272
2337
|
*
|
|
@@ -4030,6 +4095,21 @@ interface ConversationalAIAcceptanceService extends Instance {
|
|
|
4030
4095
|
*/
|
|
4031
4096
|
readonly _nominal_ConversationalAIAcceptanceService: unique symbol;
|
|
4032
4097
|
}
|
|
4098
|
+
/**
|
|
4099
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
4100
|
+
*
|
|
4101
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/CoreGuiConfiguration)
|
|
4102
|
+
*/
|
|
4103
|
+
interface CoreGuiConfiguration extends Instance {
|
|
4104
|
+
/**
|
|
4105
|
+
* **DO NOT USE!**
|
|
4106
|
+
*
|
|
4107
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
4108
|
+
* @hidden
|
|
4109
|
+
* @deprecated
|
|
4110
|
+
*/
|
|
4111
|
+
readonly _nominal_CoreGuiConfiguration: unique symbol;
|
|
4112
|
+
}
|
|
4033
4113
|
/**
|
|
4034
4114
|
* - **Tags**: NotCreatable, Service
|
|
4035
4115
|
*
|
|
@@ -7209,6 +7289,8 @@ interface InstanceExtensionsService extends Instance {
|
|
|
7209
7289
|
readonly _nominal_InstanceExtensionsService: unique symbol;
|
|
7210
7290
|
}
|
|
7211
7291
|
/**
|
|
7292
|
+
* A service for interacting with file sync from a plugin.
|
|
7293
|
+
*
|
|
7212
7294
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
7213
7295
|
*
|
|
7214
7296
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InstanceFileSyncService)
|
|
@@ -7223,24 +7305,40 @@ interface InstanceFileSyncService extends Instance {
|
|
|
7223
7305
|
*/
|
|
7224
7306
|
readonly _nominal_InstanceFileSyncService: unique symbol;
|
|
7225
7307
|
/**
|
|
7308
|
+
* Returns an array of all instances currently involved in file synchronization.
|
|
7309
|
+
*
|
|
7226
7310
|
* - **ThreadSafety**: Unsafe
|
|
7227
7311
|
*
|
|
7228
7312
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InstanceFileSyncService#GetAllInstances)
|
|
7313
|
+
* @param this A service for interacting with file sync from a plugin.
|
|
7314
|
+
* @returns Returns an array of `Instances`.
|
|
7229
7315
|
*/
|
|
7230
7316
|
GetAllInstances(this: InstanceFileSyncService): Array<Instance>;
|
|
7231
7317
|
/**
|
|
7318
|
+
* Returns the synchronization status of a specific instance.
|
|
7319
|
+
*
|
|
7232
7320
|
* - **ThreadSafety**: Unsafe
|
|
7233
7321
|
*
|
|
7234
7322
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InstanceFileSyncService#GetStatus)
|
|
7323
|
+
* @param this A service for interacting with file sync from a plugin.
|
|
7324
|
+
* @param instance The instance to check.
|
|
7325
|
+
* @returns Returns the `InstanceFileSyncStatus` for the instance.
|
|
7235
7326
|
*/
|
|
7236
7327
|
GetStatus(this: InstanceFileSyncService, instance: Instance): Enum.InstanceFileSyncStatus;
|
|
7237
7328
|
/**
|
|
7329
|
+
* Returns the instance corresponding to a given file path.
|
|
7330
|
+
*
|
|
7238
7331
|
* - **ThreadSafety**: Unsafe
|
|
7239
7332
|
*
|
|
7240
7333
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InstanceFileSyncService#GetSyncedInstance)
|
|
7334
|
+
* @param this A service for interacting with file sync from a plugin.
|
|
7335
|
+
* @param filePath The absolute path to the file.
|
|
7336
|
+
* @returns Returns the Instance being synced to the file path, if one exists. Otherwise, returns nil.
|
|
7241
7337
|
*/
|
|
7242
7338
|
GetSyncedInstance(this: InstanceFileSyncService, filePath: string): Instance | undefined;
|
|
7243
7339
|
/**
|
|
7340
|
+
* Fires when the synchronization status of an instance changes.
|
|
7341
|
+
*
|
|
7244
7342
|
* - **ThreadSafety**: Unsafe
|
|
7245
7343
|
*
|
|
7246
7344
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InstanceFileSyncService#StatusChanged)
|
|
@@ -9484,7 +9582,7 @@ interface Pages<T = unknown> extends Instance {
|
|
|
9484
9582
|
readonly _nominal_Pages: unique symbol;
|
|
9485
9583
|
}
|
|
9486
9584
|
/**
|
|
9487
|
-
* A special version of the `Pages` class returned by `AssetService:
|
|
9585
|
+
* A special version of the `Pages` class returned by `AssetService:SearchAudioAsync()`.
|
|
9488
9586
|
*
|
|
9489
9587
|
* - **Tags**: NotCreatable, NotReplicated
|
|
9490
9588
|
*
|
|
@@ -10245,11 +10343,11 @@ interface Plugin extends Instance {
|
|
|
10245
10343
|
*
|
|
10246
10344
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Plugin#Activate)
|
|
10247
10345
|
* @param this
|
|
10248
|
-
* @param exclusiveMouse A boolean specifying whether to activate the plugin with exclusive mouse. If true
|
|
10346
|
+
* @param exclusiveMouse A boolean specifying whether to activate the plugin with exclusive mouse. If `true`, a `PluginMouse` can be retrieved via `GetMouse()`.
|
|
10249
10347
|
*/
|
|
10250
10348
|
Activate(this: Plugin, exclusiveMouse: boolean): void;
|
|
10251
10349
|
/**
|
|
10252
|
-
* Creates a `PluginAction` which
|
|
10350
|
+
* Creates a `PluginAction` which represents a generic performable action in Studio with no directly‑associated `PluginToolbarButton`.
|
|
10253
10351
|
*
|
|
10254
10352
|
* - **ThreadSafety**: Unsafe
|
|
10255
10353
|
*
|
|
@@ -10270,8 +10368,8 @@ interface Plugin extends Instance {
|
|
|
10270
10368
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Plugin#CreatePluginMenu)
|
|
10271
10369
|
* @param this
|
|
10272
10370
|
* @param id Unique ID for the menu.
|
|
10273
|
-
* @param title The text to be displayed when used as a
|
|
10274
|
-
* @param icon The icon to be displayed when used as a
|
|
10371
|
+
* @param title The text to be displayed when used as a submenu.
|
|
10372
|
+
* @param icon The icon to be displayed when used as a submenu.
|
|
10275
10373
|
*/
|
|
10276
10374
|
CreatePluginMenu(this: Plugin, id: string, title?: string, icon?: string): PluginMenu;
|
|
10277
10375
|
/**
|
|
@@ -10294,7 +10392,7 @@ interface Plugin extends Instance {
|
|
|
10294
10392
|
*/
|
|
10295
10393
|
Deactivate(this: Plugin): void;
|
|
10296
10394
|
/**
|
|
10297
|
-
* Returns the `JointCreationMode` the user has set in Studio
|
|
10395
|
+
* Returns the `JointCreationMode` the user has set in Studio's toolbar.
|
|
10298
10396
|
*
|
|
10299
10397
|
* - **ThreadSafety**: Unsafe
|
|
10300
10398
|
*
|
|
@@ -10345,6 +10443,8 @@ interface Plugin extends Instance {
|
|
|
10345
10443
|
*/
|
|
10346
10444
|
GetStudioUserId(this: Plugin): number;
|
|
10347
10445
|
/**
|
|
10446
|
+
* Intersects the given parts and returns the resulting `IntersectOperation`.
|
|
10447
|
+
*
|
|
10348
10448
|
* - **ThreadSafety**: Unsafe
|
|
10349
10449
|
*
|
|
10350
10450
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Plugin#Intersect)
|
|
@@ -10353,7 +10453,7 @@ interface Plugin extends Instance {
|
|
|
10353
10453
|
*/
|
|
10354
10454
|
Intersect(this: Plugin, objects: Array<Instance>): Instance | undefined;
|
|
10355
10455
|
/**
|
|
10356
|
-
* Returns true if this plugin is currently active, after having been activated via the `
|
|
10456
|
+
* Returns `true` if this plugin is currently active, after having been activated via the `Activate()` function.
|
|
10357
10457
|
*
|
|
10358
10458
|
* - **ThreadSafety**: Unsafe
|
|
10359
10459
|
*
|
|
@@ -10363,7 +10463,7 @@ interface Plugin extends Instance {
|
|
|
10363
10463
|
*/
|
|
10364
10464
|
IsActivated(this: Plugin): boolean;
|
|
10365
10465
|
/**
|
|
10366
|
-
* Returns true if this plugin is currently active with an exclusive mouse
|
|
10466
|
+
* Returns `true` if this plugin is currently active with an exclusive mouse.
|
|
10367
10467
|
*
|
|
10368
10468
|
* - **ThreadSafety**: Unsafe
|
|
10369
10469
|
*
|
|
@@ -10373,7 +10473,7 @@ interface Plugin extends Instance {
|
|
|
10373
10473
|
*/
|
|
10374
10474
|
IsActivatedWithExclusiveMouse(this: Plugin): boolean;
|
|
10375
10475
|
/**
|
|
10376
|
-
* Negates the given parts and returns the resulting NegateOperations
|
|
10476
|
+
* Negates the given parts and returns the resulting `NegateOperations`.
|
|
10377
10477
|
*
|
|
10378
10478
|
* - **ThreadSafety**: Unsafe
|
|
10379
10479
|
*
|
|
@@ -10429,7 +10529,7 @@ interface Plugin extends Instance {
|
|
|
10429
10529
|
*/
|
|
10430
10530
|
SelectRibbonTool(this: Plugin, tool: CastsToEnum<Enum.RibbonTool>, position: UDim2): void;
|
|
10431
10531
|
/**
|
|
10432
|
-
* Separates the given UnionOperations and returns the resulting parts.
|
|
10532
|
+
* Separates the given `UnionOperations` and returns the resulting parts.
|
|
10433
10533
|
*
|
|
10434
10534
|
* - **ThreadSafety**: Unsafe
|
|
10435
10535
|
*
|
|
@@ -10460,7 +10560,7 @@ interface Plugin extends Instance {
|
|
|
10460
10560
|
*/
|
|
10461
10561
|
StartDrag(this: Plugin, dragData: object): void;
|
|
10462
10562
|
/**
|
|
10463
|
-
* Unions the given parts and returns the resulting UnionOperation
|
|
10563
|
+
* Unions the given parts and returns the resulting `UnionOperation`.
|
|
10464
10564
|
*
|
|
10465
10565
|
* - **ThreadSafety**: Unsafe
|
|
10466
10566
|
*
|
|
@@ -10470,7 +10570,7 @@ interface Plugin extends Instance {
|
|
|
10470
10570
|
*/
|
|
10471
10571
|
Union(this: Plugin, objects: Array<BasePart>): UnionOperation;
|
|
10472
10572
|
/**
|
|
10473
|
-
* **Deprecated:**
|
|
10573
|
+
* **Deprecated:** This method has been superseded by `CreateDockWidgetPluginGuiAsync()`.
|
|
10474
10574
|
*
|
|
10475
10575
|
* Creates a `DockWidgetPluginGui` given a `DockWidgetPluginGuiInfo`.
|
|
10476
10576
|
*
|
|
@@ -10500,7 +10600,7 @@ interface Plugin extends Instance {
|
|
|
10500
10600
|
/**
|
|
10501
10601
|
* **Deprecated:**
|
|
10502
10602
|
*
|
|
10503
|
-
* Prompts the user to open a
|
|
10603
|
+
* 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`.
|
|
10504
10604
|
*
|
|
10505
10605
|
* - **ThreadSafety**: Unsafe
|
|
10506
10606
|
* - **Tags**: Yields
|
|
@@ -10514,7 +10614,7 @@ interface Plugin extends Instance {
|
|
|
10514
10614
|
*/
|
|
10515
10615
|
ImportFbxAnimation(this: Plugin, rigModel: Instance, isR15?: boolean): Instance | undefined;
|
|
10516
10616
|
/**
|
|
10517
|
-
* Prompts the user to open a
|
|
10617
|
+
* 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`.
|
|
10518
10618
|
*
|
|
10519
10619
|
* - **ThreadSafety**: Unsafe
|
|
10520
10620
|
* - **Tags**: Yields
|
|
@@ -10528,7 +10628,7 @@ interface Plugin extends Instance {
|
|
|
10528
10628
|
/**
|
|
10529
10629
|
* **Deprecated:**
|
|
10530
10630
|
*
|
|
10531
|
-
* Prompts the user to open a
|
|
10631
|
+
* 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`.
|
|
10532
10632
|
*
|
|
10533
10633
|
* - **ThreadSafety**: Unsafe
|
|
10534
10634
|
* - **Tags**: Yields
|
|
@@ -10541,7 +10641,7 @@ interface Plugin extends Instance {
|
|
|
10541
10641
|
*/
|
|
10542
10642
|
ImportFbxRig(this: Plugin, isR15?: boolean): Model;
|
|
10543
10643
|
/**
|
|
10544
|
-
* Prompts the user to open a
|
|
10644
|
+
* 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`.
|
|
10545
10645
|
*
|
|
10546
10646
|
* - **ThreadSafety**: Unsafe
|
|
10547
10647
|
* - **Tags**: Yields
|
|
@@ -10552,7 +10652,7 @@ interface Plugin extends Instance {
|
|
|
10552
10652
|
*/
|
|
10553
10653
|
ImportFbxRigAsync(this: Plugin, isR15?: boolean): Instance | undefined;
|
|
10554
10654
|
/**
|
|
10555
|
-
* Opens a window in Roblox Studio
|
|
10655
|
+
* Opens a window in Roblox Studio which prompts the user to select an asset based on the `assetType` specified.
|
|
10556
10656
|
*
|
|
10557
10657
|
* - **ThreadSafety**: Unsafe
|
|
10558
10658
|
* - **Tags**: Yields
|
|
@@ -10563,7 +10663,7 @@ interface Plugin extends Instance {
|
|
|
10563
10663
|
*/
|
|
10564
10664
|
PromptForExistingAssetId(this: Plugin, assetType: string): number;
|
|
10565
10665
|
/**
|
|
10566
|
-
* Opens a window in Roblox Studio
|
|
10666
|
+
* Opens a window in Roblox Studio which prompts the user to select an asset based on the `assetType` specified.
|
|
10567
10667
|
*
|
|
10568
10668
|
* - **ThreadSafety**: Unsafe
|
|
10569
10669
|
* - **Tags**: Yields
|
|
@@ -10576,7 +10676,7 @@ interface Plugin extends Instance {
|
|
|
10576
10676
|
/**
|
|
10577
10677
|
* **Deprecated:**
|
|
10578
10678
|
*
|
|
10579
|
-
* Prompts the user to save their current selection with the specified file name.
|
|
10679
|
+
* Prompts the user to save their current selection with the specified file name.
|
|
10580
10680
|
*
|
|
10581
10681
|
* - **ThreadSafety**: Unsafe
|
|
10582
10682
|
* - **Tags**: Yields
|
|
@@ -10589,7 +10689,7 @@ interface Plugin extends Instance {
|
|
|
10589
10689
|
*/
|
|
10590
10690
|
PromptSaveSelection(this: Plugin, suggestedFileName?: string): boolean;
|
|
10591
10691
|
/**
|
|
10592
|
-
* Prompts the user to save their current selection with the specified file name.
|
|
10692
|
+
* Prompts the user to save their current selection with the specified file name.
|
|
10593
10693
|
*
|
|
10594
10694
|
* - **ThreadSafety**: Unsafe
|
|
10595
10695
|
* - **Tags**: Yields
|
|
@@ -10631,7 +10731,7 @@ interface PluginAction extends Instance {
|
|
|
10631
10731
|
*/
|
|
10632
10732
|
readonly _nominal_PluginAction: unique symbol;
|
|
10633
10733
|
/**
|
|
10634
|
-
* Fires when the action is triggered.
|
|
10734
|
+
* Fires when the action is triggered.
|
|
10635
10735
|
*
|
|
10636
10736
|
* - **ThreadSafety**: Unsafe
|
|
10637
10737
|
*
|
|
@@ -10790,7 +10890,7 @@ interface PluginMenu extends Instance {
|
|
|
10790
10890
|
*
|
|
10791
10891
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginMenu#AddMenu)
|
|
10792
10892
|
* @param this A context menu that can be shown in Studio. Displays a list of `PluginActions` and supports submenus.
|
|
10793
|
-
* @param menu The menu to add as a
|
|
10893
|
+
* @param menu The menu to add as a submenu. Uses its `Title` and `Icon` to display.
|
|
10794
10894
|
*/
|
|
10795
10895
|
AddMenu(this: PluginMenu, menu: PluginMenu): void;
|
|
10796
10896
|
/**
|
|
@@ -10800,7 +10900,7 @@ interface PluginMenu extends Instance {
|
|
|
10800
10900
|
*
|
|
10801
10901
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginMenu#AddNewAction)
|
|
10802
10902
|
* @param this A context menu that can be shown in Studio. Displays a list of `PluginActions` and supports submenus.
|
|
10803
|
-
* @param actionId Must be a unique string that identifies this PluginAction from others.
|
|
10903
|
+
* @param actionId Must be a unique string that identifies this `PluginAction` from others.
|
|
10804
10904
|
* @param text The text to be displayed.
|
|
10805
10905
|
* @param icon The icon to be displayed.
|
|
10806
10906
|
* @returns The created `PluginAction`.
|
|
@@ -10874,8 +10974,8 @@ interface PluginToolbar extends Instance {
|
|
|
10874
10974
|
* @param this
|
|
10875
10975
|
* @param buttonId A unique button ID.
|
|
10876
10976
|
* @param tooltip The text displayed in the tooltip shown when a user hovers over the button.
|
|
10877
|
-
* @param iconname The asset ID
|
|
10878
|
-
* @param text
|
|
10977
|
+
* @param iconname The asset ID of the icon displayed in the button.
|
|
10978
|
+
* @param text Optional text displayed under the button icon.
|
|
10879
10979
|
* @returns The created `PluginToolbarButton` instance.
|
|
10880
10980
|
*/
|
|
10881
10981
|
CreateButton(this: PluginToolbar, buttonId: string, tooltip: string, iconname: string, text?: string): PluginToolbarButton;
|
|
@@ -14168,7 +14268,7 @@ interface TestService extends Instance {
|
|
|
14168
14268
|
/**
|
|
14169
14269
|
* **Deprecated:**
|
|
14170
14270
|
*
|
|
14171
|
-
* Runs scripts which are parented to TestService
|
|
14271
|
+
* Runs scripts which are parented to `TestService`.
|
|
14172
14272
|
*
|
|
14173
14273
|
* - **ThreadSafety**: Unsafe
|
|
14174
14274
|
* - **Tags**: Yields
|
|
@@ -14180,7 +14280,7 @@ interface TestService extends Instance {
|
|
|
14180
14280
|
*/
|
|
14181
14281
|
Run(this: TestService): void;
|
|
14182
14282
|
/**
|
|
14183
|
-
* Runs scripts which are parented to TestService
|
|
14283
|
+
* Runs scripts which are parented to `TestService`.
|
|
14184
14284
|
*
|
|
14185
14285
|
* - **ThreadSafety**: Unsafe
|
|
14186
14286
|
* - **Tags**: Yields
|
|
@@ -14459,7 +14559,7 @@ interface TextGenerator extends Instance {
|
|
|
14459
14559
|
readonly _nominal_TextGenerator: unique symbol;
|
|
14460
14560
|
}
|
|
14461
14561
|
/**
|
|
14462
|
-
*
|
|
14562
|
+
* Service internally responsible for handling the display of text.
|
|
14463
14563
|
*
|
|
14464
14564
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
14465
14565
|
*
|