@rbxts/types 1.0.917 → 1.0.918
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.
|
@@ -39,6 +39,7 @@ interface Services {
|
|
|
39
39
|
ChangeHistoryStreamingService: ChangeHistoryStreamingService;
|
|
40
40
|
Chat: Chat;
|
|
41
41
|
CloudCRUDService: CloudCRUDService;
|
|
42
|
+
CloudExecutionService: CloudExecutionService;
|
|
42
43
|
CollaboratorsService: CollaboratorsService;
|
|
43
44
|
CollectionService: CollectionService;
|
|
44
45
|
CommerceService: CommerceService;
|
|
@@ -9403,6 +9404,12 @@ interface RootImportData extends BaseImportData {
|
|
|
9403
9404
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/RootImportData#ValidateUgcBody)
|
|
9404
9405
|
*/
|
|
9405
9406
|
ValidateUgcBody: boolean;
|
|
9407
|
+
/**
|
|
9408
|
+
* - **ThreadSafety**: ReadSafe
|
|
9409
|
+
*
|
|
9410
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/RootImportData#VersionedAssetId)
|
|
9411
|
+
*/
|
|
9412
|
+
VersionedAssetId: number;
|
|
9406
9413
|
/**
|
|
9407
9414
|
* - **ThreadSafety**: ReadSafe
|
|
9408
9415
|
*
|
|
@@ -11916,6 +11923,21 @@ interface CloudCRUDService extends Instance {
|
|
|
11916
11923
|
*/
|
|
11917
11924
|
readonly _nominal_CloudCRUDService: unique symbol;
|
|
11918
11925
|
}
|
|
11926
|
+
/**
|
|
11927
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
11928
|
+
*
|
|
11929
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/CloudExecutionService)
|
|
11930
|
+
*/
|
|
11931
|
+
interface CloudExecutionService extends Instance {
|
|
11932
|
+
/**
|
|
11933
|
+
* **DO NOT USE!**
|
|
11934
|
+
*
|
|
11935
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
11936
|
+
* @hidden
|
|
11937
|
+
* @deprecated
|
|
11938
|
+
*/
|
|
11939
|
+
readonly _nominal_CloudExecutionService: unique symbol;
|
|
11940
|
+
}
|
|
11919
11941
|
/**
|
|
11920
11942
|
* Renders realistic clouds that drift slowly across the sky.
|
|
11921
11943
|
*
|
|
@@ -15669,8 +15691,6 @@ interface DataStoreSetOptions extends Instance {
|
|
|
15669
15691
|
/**
|
|
15670
15692
|
* Allows scheduling the guaranteed destruction of an object without yielding.
|
|
15671
15693
|
*
|
|
15672
|
-
* .
|
|
15673
|
-
*
|
|
15674
15694
|
* - **Tags**: NotCreatable, Service
|
|
15675
15695
|
*
|
|
15676
15696
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Debris)
|
|
@@ -15691,8 +15711,6 @@ interface Debris extends Instance {
|
|
|
15691
15711
|
*
|
|
15692
15712
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Debris#AddItem)
|
|
15693
15713
|
* @param this Allows scheduling the guaranteed destruction of an object without yielding.
|
|
15694
|
-
*
|
|
15695
|
-
* .
|
|
15696
15714
|
* @param item The `Instance` to add to `Debris`.
|
|
15697
15715
|
* @param lifetime Number of seconds before the `Instance` should be destroyed.
|
|
15698
15716
|
*/
|
|
@@ -17586,6 +17604,8 @@ interface Folder extends Instance {
|
|
|
17586
17604
|
readonly _nominal_Folder: unique symbol;
|
|
17587
17605
|
}
|
|
17588
17606
|
/**
|
|
17607
|
+
* A container that stores `ProceduralModel` generation results.
|
|
17608
|
+
*
|
|
17589
17609
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/GeneratedFolder)
|
|
17590
17610
|
*/
|
|
17591
17611
|
interface GeneratedFolder extends Folder {
|
|
@@ -17598,10 +17618,12 @@ interface GeneratedFolder extends Folder {
|
|
|
17598
17618
|
*/
|
|
17599
17619
|
readonly _nominal_GeneratedFolder: unique symbol;
|
|
17600
17620
|
/**
|
|
17621
|
+
* Specifies which part within the `GeneratedFolder` should be set as the `PrimaryPart` of the `ProceduralModel`.
|
|
17622
|
+
*
|
|
17601
17623
|
* - **ThreadSafety**: Unsafe
|
|
17602
17624
|
*
|
|
17603
17625
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/GeneratedFolder#SetPrimaryPart)
|
|
17604
|
-
* @param this
|
|
17626
|
+
* @param this A container that stores `ProceduralModel` generation results.
|
|
17605
17627
|
* @param part
|
|
17606
17628
|
*/
|
|
17607
17629
|
SetPrimaryPart(this: GeneratedFolder, part: BasePart): void;
|
|
@@ -23445,7 +23467,7 @@ interface Humanoid extends Instance {
|
|
|
23445
23467
|
*/
|
|
23446
23468
|
RightLeg: BasePart | undefined;
|
|
23447
23469
|
/**
|
|
23448
|
-
* A reference to the humanoid's
|
|
23470
|
+
* A reference to the humanoid's `HumanoidRootPart` object.
|
|
23449
23471
|
*
|
|
23450
23472
|
* - **ThreadSafety**: ReadSafe
|
|
23451
23473
|
* - **Tags**: NotReplicated
|
|
@@ -23860,7 +23882,7 @@ interface Humanoid extends Instance {
|
|
|
23860
23882
|
*/
|
|
23861
23883
|
ApplyDescription(this: Humanoid, humanoidDescription: HumanoidDescription, assetTypeVerification?: CastsToEnum<Enum.AssetTypeVerification>): void;
|
|
23862
23884
|
/**
|
|
23863
|
-
* Makes the character's look match that of the passed in `HumanoidDescription`.
|
|
23885
|
+
* Makes the character's look match that of the passed in `HumanoidDescription`. If `UseAvatarSettings` is true, the Avatar Settings for the experience will also be applied to the character.
|
|
23864
23886
|
*
|
|
23865
23887
|
* - **ThreadSafety**: Unsafe
|
|
23866
23888
|
* - **Tags**: Yields
|
|
@@ -31593,6 +31615,12 @@ interface Terrain extends BasePart {
|
|
|
31593
31615
|
* @param material The material with which the wedge will be filled.
|
|
31594
31616
|
*/
|
|
31595
31617
|
FillWedge(this: Terrain, cframe: CFrame, size: Vector3, material: CastsToEnum<Enum.Material>): void;
|
|
31618
|
+
/**
|
|
31619
|
+
* - **ThreadSafety**: Unsafe
|
|
31620
|
+
*
|
|
31621
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Terrain#GetBaseMaterialSlotIndex)
|
|
31622
|
+
*/
|
|
31623
|
+
GetBaseMaterialSlotIndex(this: Terrain, baseMaterial: CastsToEnum<Enum.Material>): number | undefined;
|
|
31596
31624
|
/**
|
|
31597
31625
|
* **Deprecated:** This item is a deprecated function of a legacy `Terrain` engine that has been removed. Do not use it for new work.
|
|
31598
31626
|
*
|
|
@@ -31610,6 +31638,12 @@ interface Terrain extends BasePart {
|
|
|
31610
31638
|
* @deprecated
|
|
31611
31639
|
*/
|
|
31612
31640
|
GetCell(this: Terrain, x: number, y: number, z: number): unknown;
|
|
31641
|
+
/**
|
|
31642
|
+
* - **ThreadSafety**: Unsafe
|
|
31643
|
+
*
|
|
31644
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Terrain#GetFirstCustomMaterialSlotIndex)
|
|
31645
|
+
*/
|
|
31646
|
+
GetFirstCustomMaterialSlotIndex(this: Terrain): number;
|
|
31613
31647
|
/**
|
|
31614
31648
|
* Returns current terrain material color for specified terrain material.
|
|
31615
31649
|
*
|
|
@@ -31620,6 +31654,12 @@ interface Terrain extends BasePart {
|
|
|
31620
31654
|
* @param material
|
|
31621
31655
|
*/
|
|
31622
31656
|
GetMaterialColor(this: Terrain, material: CastsToEnum<Enum.Material>): Color3;
|
|
31657
|
+
/**
|
|
31658
|
+
* - **ThreadSafety**: Unsafe
|
|
31659
|
+
*
|
|
31660
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Terrain#GetMaterialSlot)
|
|
31661
|
+
*/
|
|
31662
|
+
GetMaterialSlot(this: Terrain, slotIndex: number): unknown;
|
|
31623
31663
|
/**
|
|
31624
31664
|
* **Deprecated:** This item is a deprecated function of a legacy `Terrain` engine that has been removed. Do not use it for new work.
|
|
31625
31665
|
*
|
|
@@ -31730,6 +31770,12 @@ interface Terrain extends BasePart {
|
|
|
31730
31770
|
* @param targetMaterial The new material.
|
|
31731
31771
|
*/
|
|
31732
31772
|
ReplaceMaterial(this: Terrain, region: Region3, resolution: number, sourceMaterial: CastsToEnum<Enum.Material>, targetMaterial: CastsToEnum<Enum.Material>): void;
|
|
31773
|
+
/**
|
|
31774
|
+
* - **ThreadSafety**: Unsafe
|
|
31775
|
+
*
|
|
31776
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Terrain#ResetMaterialSlot)
|
|
31777
|
+
*/
|
|
31778
|
+
ResetMaterialSlot(this: Terrain, slotIndex: number): void;
|
|
31733
31779
|
/**
|
|
31734
31780
|
* **Deprecated:** This item is a deprecated function of a legacy `Terrain` engine that has been removed. Do not use it for new work.
|
|
31735
31781
|
*
|
|
@@ -31779,6 +31825,12 @@ interface Terrain extends BasePart {
|
|
|
31779
31825
|
* @param value
|
|
31780
31826
|
*/
|
|
31781
31827
|
SetMaterialColor(this: Terrain, material: CastsToEnum<Enum.Material>, value: Color3): void;
|
|
31828
|
+
/**
|
|
31829
|
+
* - **ThreadSafety**: Unsafe
|
|
31830
|
+
*
|
|
31831
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Terrain#SetMaterialSlot)
|
|
31832
|
+
*/
|
|
31833
|
+
SetMaterialSlot(this: Terrain, slotIndex: number, baseMaterial: CastsToEnum<Enum.Material>, materialVariant: string, color: Color3): void;
|
|
31782
31834
|
/**
|
|
31783
31835
|
* **Deprecated:** This item is a deprecated function of a legacy `Terrain` engine that has been removed. Do not use it for new work.
|
|
31784
31836
|
*
|
|
@@ -33113,6 +33165,8 @@ interface Tool extends BackpackItem {
|
|
|
33113
33165
|
readonly Unequipped: RBXScriptSignal<() => void>;
|
|
33114
33166
|
}
|
|
33115
33167
|
/**
|
|
33168
|
+
* Procedural models support edit-time procedural generation. Instead of manually constructing model content, a procedural model generates its contents automatically in response to parameter changes.
|
|
33169
|
+
*
|
|
33116
33170
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ProceduralModel)
|
|
33117
33171
|
*/
|
|
33118
33172
|
interface ProceduralModel extends Model {
|
|
@@ -33125,6 +33179,8 @@ interface ProceduralModel extends Model {
|
|
|
33125
33179
|
*/
|
|
33126
33180
|
readonly _nominal_ProceduralModel: unique symbol;
|
|
33127
33181
|
/**
|
|
33182
|
+
* Stores errors that the generator module might encounter during generation.
|
|
33183
|
+
*
|
|
33128
33184
|
* - **ThreadSafety**: ReadSafe
|
|
33129
33185
|
* - **Tags**: NotReplicated
|
|
33130
33186
|
*
|
|
@@ -33132,12 +33188,16 @@ interface ProceduralModel extends Model {
|
|
|
33132
33188
|
*/
|
|
33133
33189
|
readonly GenerationError: string;
|
|
33134
33190
|
/**
|
|
33191
|
+
* A reference to a `ModuleScript` that contains code which defines how the `ProceduralModel` generates its contents in response to parameter changes.
|
|
33192
|
+
*
|
|
33135
33193
|
* - **ThreadSafety**: ReadSafe
|
|
33136
33194
|
*
|
|
33137
33195
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ProceduralModel#Generator)
|
|
33138
33196
|
*/
|
|
33139
33197
|
Generator: ModuleScript | undefined;
|
|
33140
33198
|
/**
|
|
33199
|
+
* Defines the bounding volume used for generation.
|
|
33200
|
+
*
|
|
33141
33201
|
* - **ThreadSafety**: ReadSafe
|
|
33142
33202
|
*
|
|
33143
33203
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ProceduralModel#Size)
|
|
@@ -33147,15 +33207,18 @@ interface ProceduralModel extends Model {
|
|
|
33147
33207
|
* - **ThreadSafety**: Unsafe
|
|
33148
33208
|
*
|
|
33149
33209
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ProceduralModel#ForceGeneration)
|
|
33150
|
-
* @param this
|
|
33210
|
+
* @param this Procedural models support edit-time procedural generation. Instead of manually constructing model content, a procedural model generates its contents automatically in response to parameter changes.
|
|
33151
33211
|
*/
|
|
33152
33212
|
ForceGeneration(this: ProceduralModel): boolean;
|
|
33153
33213
|
/**
|
|
33214
|
+
* Waits for generation to complete after making parameter changes.
|
|
33215
|
+
*
|
|
33154
33216
|
* - **ThreadSafety**: Unsafe
|
|
33155
33217
|
* - **Tags**: Yields
|
|
33156
33218
|
*
|
|
33157
33219
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ProceduralModel#WaitForGenerationAsync)
|
|
33158
|
-
* @param this
|
|
33220
|
+
* @param this Procedural models support edit-time procedural generation. Instead of manually constructing model content, a procedural model generates its contents automatically in response to parameter changes.
|
|
33221
|
+
* @returns Was the generation successful?
|
|
33159
33222
|
*/
|
|
33160
33223
|
WaitForGenerationAsync(this: ProceduralModel): boolean;
|
|
33161
33224
|
}
|
|
@@ -36453,7 +36516,7 @@ interface Players extends Instance {
|
|
|
36453
36516
|
*/
|
|
36454
36517
|
CreateHumanoidModelFromDescription(this: Players, description: HumanoidDescription, rigType: CastsToEnum<Enum.HumanoidRigType>, assetTypeVerification?: CastsToEnum<Enum.AssetTypeVerification>): Model;
|
|
36455
36518
|
/**
|
|
36456
|
-
* Returns a character `Model` equipped with everything specified in the passed in `HumanoidDescription`.
|
|
36519
|
+
* Returns a character `Model` equipped with everything specified in the passed in `HumanoidDescription`. If `UseAvatarSettings` is set to true, Avatar Settings in the experience will be applied to the returned model.
|
|
36457
36520
|
*
|
|
36458
36521
|
* - **ThreadSafety**: Unsafe
|
|
36459
36522
|
* - **Tags**: Yields
|
|
@@ -36706,6 +36769,8 @@ interface PluginCapabilities extends Instance {
|
|
|
36706
36769
|
readonly _nominal_PluginCapabilities: unique symbol;
|
|
36707
36770
|
}
|
|
36708
36771
|
/**
|
|
36772
|
+
* This service is used by plugins to communicate with other instances of themselves running in other data models.
|
|
36773
|
+
*
|
|
36709
36774
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
36710
36775
|
*
|
|
36711
36776
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnectionService)
|
|
@@ -38340,7 +38405,7 @@ interface RunService extends Instance {
|
|
|
38340
38405
|
* @param function The function to call. This function will be passed one parameter called `deltaTime` which shows how much time passed between the beginning of the previous simulation step and the beginning of the current simulation step.
|
|
38341
38406
|
* @param frequency Optional `StepFrequency` value indicating the frequency at which to call the bound function. If not provided, the default frequency will be used.
|
|
38342
38407
|
*/
|
|
38343
|
-
BindToSimulation(this: RunService, callback: Callback, frequency?: CastsToEnum<Enum.StepFrequency
|
|
38408
|
+
BindToSimulation(this: RunService, callback: Callback, frequency?: CastsToEnum<Enum.StepFrequency>, priority?: number): RBXScriptConnection;
|
|
38344
38409
|
/**
|
|
38345
38410
|
* Checks the `PredictionStatus` of a specific context instance, useful for debugging scripts affecting multiple instances where some might be predicted and others might not.
|
|
38346
38411
|
*
|
|
@@ -42345,6 +42410,12 @@ interface StyleRule extends StyleBase {
|
|
|
42345
42410
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleRule#SelectorError)
|
|
42346
42411
|
*/
|
|
42347
42412
|
readonly SelectorError: string;
|
|
42413
|
+
/**
|
|
42414
|
+
* - **ThreadSafety**: Unsafe
|
|
42415
|
+
*
|
|
42416
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleRule#GetDefaultPropertyTransition)
|
|
42417
|
+
*/
|
|
42418
|
+
GetDefaultPropertyTransition(this: StyleRule): unknown;
|
|
42348
42419
|
/**
|
|
42349
42420
|
* Returns a dictionary of key-value pairs describing the properties of the `StyleRule`.
|
|
42350
42421
|
*
|
|
@@ -42373,6 +42444,12 @@ interface StyleRule extends StyleBase {
|
|
|
42373
42444
|
* @param this Defines style properties which override properties on the instances affected by the `Selector` property.
|
|
42374
42445
|
*/
|
|
42375
42446
|
GetPropertyTransitions(this: StyleRule): object;
|
|
42447
|
+
/**
|
|
42448
|
+
* - **ThreadSafety**: Unsafe
|
|
42449
|
+
*
|
|
42450
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleRule#SetDefaultPropertyTransition)
|
|
42451
|
+
*/
|
|
42452
|
+
SetDefaultPropertyTransition(this: StyleRule, transitionParams: unknown): void;
|
|
42376
42453
|
/**
|
|
42377
42454
|
* Lets you declare and set multiple properties of the `StyleRule` at once.
|
|
42378
42455
|
*
|
|
@@ -49513,6 +49590,8 @@ interface OutputLink extends RBXObject {
|
|
|
49513
49590
|
readonly _nominal_OutputLink: unique symbol;
|
|
49514
49591
|
}
|
|
49515
49592
|
/**
|
|
49593
|
+
* Encapsulates a connection between the current data model and another for plugin communication.
|
|
49594
|
+
*
|
|
49516
49595
|
* - **Tags**: NotCreatable, NotReplicated
|
|
49517
49596
|
*
|
|
49518
49597
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnection)
|
|
@@ -49686,6 +49765,8 @@ interface VideoSampler extends RBXObject {
|
|
|
49686
49765
|
GetSamplesAtTimesAsync(this: VideoSampler, times: Array<unknown>): Array<unknown>;
|
|
49687
49766
|
}
|
|
49688
49767
|
/**
|
|
49768
|
+
* Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
49769
|
+
*
|
|
49689
49770
|
* - **Tags**: NotCreatable, NotReplicated
|
|
49690
49771
|
*
|
|
49691
49772
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput)
|
|
@@ -40,6 +40,7 @@ interface Services {
|
|
|
40
40
|
ChangeHistoryStreamingService: ChangeHistoryStreamingService;
|
|
41
41
|
Chat: Chat;
|
|
42
42
|
CloudCRUDService: CloudCRUDService;
|
|
43
|
+
CloudExecutionService: CloudExecutionService;
|
|
43
44
|
CollaboratorsService: CollaboratorsService;
|
|
44
45
|
CollectionService: CollectionService;
|
|
45
46
|
CommerceService: CommerceService;
|
|
@@ -3433,6 +3434,21 @@ interface CloudCRUDService extends Instance {
|
|
|
3433
3434
|
*/
|
|
3434
3435
|
readonly _nominal_CloudCRUDService: unique symbol;
|
|
3435
3436
|
}
|
|
3437
|
+
/**
|
|
3438
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
3439
|
+
*
|
|
3440
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/CloudExecutionService)
|
|
3441
|
+
*/
|
|
3442
|
+
interface CloudExecutionService extends Instance {
|
|
3443
|
+
/**
|
|
3444
|
+
* **DO NOT USE!**
|
|
3445
|
+
*
|
|
3446
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
3447
|
+
* @hidden
|
|
3448
|
+
* @deprecated
|
|
3449
|
+
*/
|
|
3450
|
+
readonly _nominal_CloudExecutionService: unique symbol;
|
|
3451
|
+
}
|
|
3436
3452
|
/**
|
|
3437
3453
|
* Renders realistic clouds that drift slowly across the sky.
|
|
3438
3454
|
*
|
|
@@ -4496,8 +4512,6 @@ interface DataStoreSetOptions extends Instance {
|
|
|
4496
4512
|
/**
|
|
4497
4513
|
* Allows scheduling the guaranteed destruction of an object without yielding.
|
|
4498
4514
|
*
|
|
4499
|
-
* .
|
|
4500
|
-
*
|
|
4501
4515
|
* - **Tags**: NotCreatable, Service
|
|
4502
4516
|
*
|
|
4503
4517
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Debris)
|
|
@@ -5898,6 +5912,8 @@ interface Folder extends Instance {
|
|
|
5898
5912
|
readonly _nominal_Folder: unique symbol;
|
|
5899
5913
|
}
|
|
5900
5914
|
/**
|
|
5915
|
+
* A container that stores `ProceduralModel` generation results.
|
|
5916
|
+
*
|
|
5901
5917
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/GeneratedFolder)
|
|
5902
5918
|
*/
|
|
5903
5919
|
interface GeneratedFolder extends Folder {
|
|
@@ -9021,6 +9037,48 @@ interface NetworkSettings extends Instance {
|
|
|
9021
9037
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#FreeMemoryMBytes)
|
|
9022
9038
|
*/
|
|
9023
9039
|
readonly FreeMemoryMBytes: number;
|
|
9040
|
+
/**
|
|
9041
|
+
* - **ThreadSafety**: ReadSafe
|
|
9042
|
+
* - **Tags**: NotReplicated
|
|
9043
|
+
*
|
|
9044
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#InboundNetworkJitterMs)
|
|
9045
|
+
*/
|
|
9046
|
+
InboundNetworkJitterMs: number;
|
|
9047
|
+
/**
|
|
9048
|
+
* - **ThreadSafety**: ReadSafe
|
|
9049
|
+
* - **Tags**: NotReplicated
|
|
9050
|
+
*
|
|
9051
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#InboundNetworkLossPercent)
|
|
9052
|
+
*/
|
|
9053
|
+
InboundNetworkLossPercent: number;
|
|
9054
|
+
/**
|
|
9055
|
+
* - **ThreadSafety**: ReadSafe
|
|
9056
|
+
* - **Tags**: NotReplicated
|
|
9057
|
+
*
|
|
9058
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#InboundNetworkMinDelayMs)
|
|
9059
|
+
*/
|
|
9060
|
+
InboundNetworkMinDelayMs: number;
|
|
9061
|
+
/**
|
|
9062
|
+
* - **ThreadSafety**: ReadSafe
|
|
9063
|
+
* - **Tags**: NotReplicated
|
|
9064
|
+
*
|
|
9065
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#OutboundNetworkJitterMs)
|
|
9066
|
+
*/
|
|
9067
|
+
OutboundNetworkJitterMs: number;
|
|
9068
|
+
/**
|
|
9069
|
+
* - **ThreadSafety**: ReadSafe
|
|
9070
|
+
* - **Tags**: NotReplicated
|
|
9071
|
+
*
|
|
9072
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#OutboundNetworkLossPercent)
|
|
9073
|
+
*/
|
|
9074
|
+
OutboundNetworkLossPercent: number;
|
|
9075
|
+
/**
|
|
9076
|
+
* - **ThreadSafety**: ReadSafe
|
|
9077
|
+
* - **Tags**: NotReplicated
|
|
9078
|
+
*
|
|
9079
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/NetworkSettings#OutboundNetworkMinDelayMs)
|
|
9080
|
+
*/
|
|
9081
|
+
OutboundNetworkMinDelayMs: number;
|
|
9024
9082
|
}
|
|
9025
9083
|
/**
|
|
9026
9084
|
* An instance used to prevent collisions between two specific parts.
|
|
@@ -9572,6 +9630,8 @@ interface Tool extends BackpackItem {
|
|
|
9572
9630
|
readonly _nominal_Tool: unique symbol;
|
|
9573
9631
|
}
|
|
9574
9632
|
/**
|
|
9633
|
+
* Procedural models support edit-time procedural generation. Instead of manually constructing model content, a procedural model generates its contents automatically in response to parameter changes.
|
|
9634
|
+
*
|
|
9575
9635
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ProceduralModel)
|
|
9576
9636
|
*/
|
|
9577
9637
|
interface ProceduralModel extends Model {
|
|
@@ -11179,6 +11239,8 @@ interface PluginCapabilities extends Instance {
|
|
|
11179
11239
|
readonly _nominal_PluginCapabilities: unique symbol;
|
|
11180
11240
|
}
|
|
11181
11241
|
/**
|
|
11242
|
+
* This service is used by plugins to communicate with other instances of themselves running in other data models.
|
|
11243
|
+
*
|
|
11182
11244
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
11183
11245
|
*
|
|
11184
11246
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnectionService)
|
|
@@ -11193,18 +11255,29 @@ interface PluginConnectionService extends Instance {
|
|
|
11193
11255
|
*/
|
|
11194
11256
|
readonly _nominal_PluginConnectionService: unique symbol;
|
|
11195
11257
|
/**
|
|
11258
|
+
* Checks if the current data model context can ever have connections of a given type.
|
|
11259
|
+
*
|
|
11196
11260
|
* - **ThreadSafety**: Unsafe
|
|
11197
11261
|
*
|
|
11198
11262
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnectionService#CanHaveConnectionType)
|
|
11263
|
+
* @param this This service is used by plugins to communicate with other instances of themselves running in other data models.
|
|
11264
|
+
* @param type The connection type to check.
|
|
11199
11265
|
*/
|
|
11200
11266
|
CanHaveConnectionType(this: PluginConnectionService, type: CastsToEnum<Enum.PluginConnectionTargetType>): boolean;
|
|
11201
11267
|
/**
|
|
11268
|
+
* Returns a list of currently connected `PluginConnection` objects with the given connection type.
|
|
11269
|
+
*
|
|
11202
11270
|
* - **ThreadSafety**: Unsafe
|
|
11203
11271
|
*
|
|
11204
11272
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnectionService#GetPluginConnectionsOfType)
|
|
11273
|
+
* @param this This service is used by plugins to communicate with other instances of themselves running in other data models.
|
|
11274
|
+
* @param type The connection type to check.
|
|
11275
|
+
* @returns An array of the currently connected `PluginConnection` objects with that target type.
|
|
11205
11276
|
*/
|
|
11206
11277
|
GetPluginConnectionsOfType(this: PluginConnectionService, type: CastsToEnum<Enum.PluginConnectionTargetType>): Array<unknown>;
|
|
11207
11278
|
/**
|
|
11279
|
+
* Fires just after a new `PluginConnection` successfully connects.
|
|
11280
|
+
*
|
|
11208
11281
|
* - **ThreadSafety**: Unsafe
|
|
11209
11282
|
*
|
|
11210
11283
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnectionService#Connected)
|
|
@@ -16042,9 +16115,13 @@ interface UserInputService extends Instance {
|
|
|
16042
16115
|
*/
|
|
16043
16116
|
readonly _nominal_UserInputService: unique symbol;
|
|
16044
16117
|
/**
|
|
16118
|
+
* Creates a `VirtualInput` object that a Studio plugin can use to simulate mouse, keyboard, and pointer input.
|
|
16119
|
+
*
|
|
16045
16120
|
* - **ThreadSafety**: Unsafe
|
|
16046
16121
|
*
|
|
16047
16122
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/UserInputService#CreateVirtualInput)
|
|
16123
|
+
* @param this `UserInputService` is primarily used to detect the input types available on a user's device, as well as detect input events.
|
|
16124
|
+
* @returns A new `VirtualInput` object, or `nil` if the feature is not available.
|
|
16048
16125
|
*/
|
|
16049
16126
|
CreateVirtualInput(this: UserInputService): RBXObject;
|
|
16050
16127
|
}
|
|
@@ -16678,6 +16755,8 @@ interface OutputLink extends RBXObject {
|
|
|
16678
16755
|
readonly _nominal_OutputLink: unique symbol;
|
|
16679
16756
|
}
|
|
16680
16757
|
/**
|
|
16758
|
+
* Encapsulates a connection between the current data model and another for plugin communication.
|
|
16759
|
+
*
|
|
16681
16760
|
* - **Tags**: NotCreatable, NotReplicated
|
|
16682
16761
|
*
|
|
16683
16762
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnection)
|
|
@@ -16692,6 +16771,8 @@ interface PluginConnection extends RBXObject {
|
|
|
16692
16771
|
*/
|
|
16693
16772
|
readonly _nominal_PluginConnection: unique symbol;
|
|
16694
16773
|
/**
|
|
16774
|
+
* Whether this `PluginConnection` object is still connected.
|
|
16775
|
+
*
|
|
16695
16776
|
* - **ThreadSafety**: ReadSafe
|
|
16696
16777
|
* - **Tags**: NotReplicated
|
|
16697
16778
|
*
|
|
@@ -16699,6 +16780,8 @@ interface PluginConnection extends RBXObject {
|
|
|
16699
16780
|
*/
|
|
16700
16781
|
readonly Connected: boolean;
|
|
16701
16782
|
/**
|
|
16783
|
+
* A unique ID for the target data model.
|
|
16784
|
+
*
|
|
16702
16785
|
* - **ThreadSafety**: ReadSafe
|
|
16703
16786
|
* - **Tags**: NotReplicated
|
|
16704
16787
|
*
|
|
@@ -16706,6 +16789,8 @@ interface PluginConnection extends RBXObject {
|
|
|
16706
16789
|
*/
|
|
16707
16790
|
readonly TargetId: string;
|
|
16708
16791
|
/**
|
|
16792
|
+
* This `PluginConnectionTargetType` describes the relationship of the target data model to the current one.
|
|
16793
|
+
*
|
|
16709
16794
|
* - **ThreadSafety**: ReadSafe
|
|
16710
16795
|
* - **Tags**: NotReplicated
|
|
16711
16796
|
*
|
|
@@ -16713,15 +16798,24 @@ interface PluginConnection extends RBXObject {
|
|
|
16713
16798
|
*/
|
|
16714
16799
|
readonly Type: Enum.PluginConnectionTargetType;
|
|
16715
16800
|
/**
|
|
16801
|
+
* Binds a callback to this `PluginConnection` to receive messages from `SendMessage()`.
|
|
16802
|
+
*
|
|
16716
16803
|
* - **ThreadSafety**: Unsafe
|
|
16717
16804
|
*
|
|
16718
16805
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnection#BindToMessage)
|
|
16806
|
+
* @param this Encapsulates a connection between the current data model and another for plugin communication.
|
|
16807
|
+
* @param callback A function accepting a string or a buffer which will be called when this `PluginConnection` receives a message.
|
|
16808
|
+
* @returns A `RBXScriptConnection` representing the binding of this callback to the `PluginConnection`. Disconnect it to disconnect this callback from the connection.
|
|
16719
16809
|
*/
|
|
16720
16810
|
BindToMessage(this: PluginConnection, callbackFunction: Callback): RBXScriptConnection;
|
|
16721
16811
|
/**
|
|
16812
|
+
* Sends a payload to the remote data model.
|
|
16813
|
+
*
|
|
16722
16814
|
* - **ThreadSafety**: Unsafe
|
|
16723
16815
|
*
|
|
16724
16816
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PluginConnection#SendMessage)
|
|
16817
|
+
* @param this Encapsulates a connection between the current data model and another for plugin communication.
|
|
16818
|
+
* @param message The string or buffer to be sent.
|
|
16725
16819
|
*/
|
|
16726
16820
|
SendMessage(this: PluginConnection, message: unknown): void;
|
|
16727
16821
|
}
|
|
@@ -16803,6 +16897,8 @@ interface VideoSampler extends RBXObject {
|
|
|
16803
16897
|
readonly _nominal_VideoSampler: unique symbol;
|
|
16804
16898
|
}
|
|
16805
16899
|
/**
|
|
16900
|
+
* Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16901
|
+
*
|
|
16806
16902
|
* - **Tags**: NotCreatable, NotReplicated
|
|
16807
16903
|
*
|
|
16808
16904
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput)
|
|
@@ -16817,39 +16913,69 @@ interface VirtualInput extends RBXObject {
|
|
|
16817
16913
|
*/
|
|
16818
16914
|
readonly _nominal_VirtualInput: unique symbol;
|
|
16819
16915
|
/**
|
|
16916
|
+
* Injects a keyboard key press or release event.
|
|
16917
|
+
*
|
|
16820
16918
|
* - **ThreadSafety**: Unsafe
|
|
16821
16919
|
*
|
|
16822
16920
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendKey)
|
|
16921
|
+
* @param this Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16922
|
+
* @param isPressed Whether to simulate a key press (`true`) or a key release (`false`).
|
|
16923
|
+
* @param keyCode The `KeyCode` of the key to inject.
|
|
16924
|
+
* @param isRepeatedKey Whether this is an auto-repeat event, as occurs when a key is held down. Only valid for text-manipulation keys such as `KeyCode.Backspace`, `KeyCode.Delete`, and the arrow keys. Defaults to `false`.
|
|
16823
16925
|
*/
|
|
16824
16926
|
SendKey(this: VirtualInput, isPressed: boolean, keyCode: CastsToEnum<Enum.KeyCode>, isRepeatedKey?: boolean): void;
|
|
16825
16927
|
/**
|
|
16928
|
+
* Injects a mouse button press or release event at the specified screen position.
|
|
16929
|
+
*
|
|
16826
16930
|
* - **ThreadSafety**: Unsafe
|
|
16827
16931
|
*
|
|
16828
16932
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendMouseButton)
|
|
16933
|
+
* @param this Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16934
|
+
* @param position The screen-space position in pixels at which to inject the event.
|
|
16935
|
+
* @param button The mouse button to use. Supported values are `UserInputType.MouseButton1`, `UserInputType.MouseButton2`, and `UserInputType.MouseButton3`.
|
|
16936
|
+
* @param isDown Whether to simulate a button press (`true`) or a button release (`false`).
|
|
16937
|
+
* @param repeatCount The consecutive-click count for multi-click detection, such as a double- or triple-click. Defaults to `0`.
|
|
16829
16938
|
*/
|
|
16830
16939
|
SendMouseButton(this: VirtualInput, position: Vector2, button: CastsToEnum<Enum.UserInputType>, isDown: boolean, repeatCount?: number): void;
|
|
16831
16940
|
/**
|
|
16941
|
+
* Injects a relative mouse movement event. Only works while the player's cursor is locked.
|
|
16942
|
+
*
|
|
16832
16943
|
* - **ThreadSafety**: Unsafe
|
|
16833
16944
|
*
|
|
16834
16945
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendMouseDelta)
|
|
16946
|
+
* @param this Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16947
|
+
* @param positionDelta The relative mouse movement in pixels along each axis.
|
|
16835
16948
|
*/
|
|
16836
16949
|
SendMouseDelta(this: VirtualInput, positionDelta: Vector2): void;
|
|
16837
16950
|
/**
|
|
16951
|
+
* Moves the virtual mouse cursor to the specified absolute screen position.
|
|
16952
|
+
*
|
|
16838
16953
|
* - **ThreadSafety**: Unsafe
|
|
16839
16954
|
*
|
|
16840
16955
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendMousePosition)
|
|
16956
|
+
* @param this Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16957
|
+
* @param position The target screen-space position in pixels.
|
|
16841
16958
|
*/
|
|
16842
16959
|
SendMousePosition(this: VirtualInput, position: Vector2): void;
|
|
16843
16960
|
/**
|
|
16961
|
+
* Injects a scroll wheel, trackpad pan, or pinch gesture event at the specified screen position.
|
|
16962
|
+
*
|
|
16844
16963
|
* - **ThreadSafety**: Unsafe
|
|
16845
16964
|
*
|
|
16846
16965
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendPointerAction)
|
|
16966
|
+
* @param this Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16967
|
+
* @param position The screen-space position in pixels at which to inject the event.
|
|
16968
|
+
* @param pointerAction A dictionary describing the pointer action to inject. Accepted keys are `Wheel` (number), `Pan` (`Vector2`), and `Pinch` (number). At least one key must have a non-zero value.
|
|
16847
16969
|
*/
|
|
16848
16970
|
SendPointerAction(this: VirtualInput, position: Vector2, pointerAction: object): void;
|
|
16849
16971
|
/**
|
|
16972
|
+
* Injects a text input event as if the specified string was typed on a keyboard.
|
|
16973
|
+
*
|
|
16850
16974
|
* - **ThreadSafety**: Unsafe
|
|
16851
16975
|
*
|
|
16852
16976
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendTextInput)
|
|
16977
|
+
* @param this Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16978
|
+
* @param text The string to inject as text input.
|
|
16853
16979
|
*/
|
|
16854
16980
|
SendTextInput(this: VirtualInput, text: string): void;
|
|
16855
16981
|
}
|
|
@@ -19612,6 +19612,24 @@ declare namespace Enum {
|
|
|
19612
19612
|
EnumType: typeof globalThis.Enum.KeyCode;
|
|
19613
19613
|
}
|
|
19614
19614
|
export const MouseDelta: MouseDelta;
|
|
19615
|
+
/**
|
|
19616
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/KeyCode#TouchDelta)
|
|
19617
|
+
*/
|
|
19618
|
+
export interface TouchDelta extends globalThis.EnumItem {
|
|
19619
|
+
Name: "TouchDelta";
|
|
19620
|
+
Value: 1049;
|
|
19621
|
+
EnumType: typeof globalThis.Enum.KeyCode;
|
|
19622
|
+
}
|
|
19623
|
+
export const TouchDelta: TouchDelta;
|
|
19624
|
+
/**
|
|
19625
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/KeyCode#TouchPinch)
|
|
19626
|
+
*/
|
|
19627
|
+
export interface TouchPinch extends globalThis.EnumItem {
|
|
19628
|
+
Name: "TouchPinch";
|
|
19629
|
+
Value: 1050;
|
|
19630
|
+
EnumType: typeof globalThis.Enum.KeyCode;
|
|
19631
|
+
}
|
|
19632
|
+
export const TouchPinch: TouchPinch;
|
|
19615
19633
|
/**
|
|
19616
19634
|
* **Deprecated:**
|
|
19617
19635
|
*
|
|
@@ -20716,7 +20734,7 @@ declare namespace Enum {
|
|
|
20716
20734
|
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.KeyCode | undefined;
|
|
20717
20735
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.KeyCode | undefined;
|
|
20718
20736
|
}
|
|
20719
|
-
export type KeyCode = KeyCode.Unknown | KeyCode.Backspace | KeyCode.Tab | KeyCode.Clear | KeyCode.Return | KeyCode.Pause | KeyCode.Escape | KeyCode.Space | KeyCode.QuotedDouble | KeyCode.Hash | KeyCode.Dollar | KeyCode.Percent | KeyCode.Ampersand | KeyCode.Quote | KeyCode.LeftParenthesis | KeyCode.RightParenthesis | KeyCode.Asterisk | KeyCode.Plus | KeyCode.Comma | KeyCode.Minus | KeyCode.Period | KeyCode.Slash | KeyCode.Zero | KeyCode.One | KeyCode.Two | KeyCode.Three | KeyCode.Four | KeyCode.Five | KeyCode.Six | KeyCode.Seven | KeyCode.Eight | KeyCode.Nine | KeyCode.Colon | KeyCode.Semicolon | KeyCode.LessThan | KeyCode.Equals | KeyCode.GreaterThan | KeyCode.Question | KeyCode.At | KeyCode.LeftBracket | KeyCode.BackSlash | KeyCode.RightBracket | KeyCode.Caret | KeyCode.Underscore | KeyCode.Backquote | KeyCode.A | KeyCode.B | KeyCode.C | KeyCode.D | KeyCode.E | KeyCode.F | KeyCode.G | KeyCode.H | KeyCode.I | KeyCode.J | KeyCode.K | KeyCode.L | KeyCode.M | KeyCode.N | KeyCode.O | KeyCode.P | KeyCode.Q | KeyCode.R | KeyCode.S | KeyCode.T | KeyCode.U | KeyCode.V | KeyCode.W | KeyCode.X | KeyCode.Y | KeyCode.Z | KeyCode.LeftCurly | KeyCode.Pipe | KeyCode.RightCurly | KeyCode.Tilde | KeyCode.Delete | KeyCode.KeypadZero | KeyCode.KeypadOne | KeyCode.KeypadTwo | KeyCode.KeypadThree | KeyCode.KeypadFour | KeyCode.KeypadFive | KeyCode.KeypadSix | KeyCode.KeypadSeven | KeyCode.KeypadEight | KeyCode.KeypadNine | KeyCode.KeypadPeriod | KeyCode.KeypadDivide | KeyCode.KeypadMultiply | KeyCode.KeypadMinus | KeyCode.KeypadPlus | KeyCode.KeypadEnter | KeyCode.KeypadEquals | KeyCode.Up | KeyCode.Down | KeyCode.Right | KeyCode.Left | KeyCode.Insert | KeyCode.Home | KeyCode.End | KeyCode.PageUp | KeyCode.PageDown | KeyCode.F1 | KeyCode.F2 | KeyCode.F3 | KeyCode.F4 | KeyCode.F5 | KeyCode.F6 | KeyCode.F7 | KeyCode.F8 | KeyCode.F9 | KeyCode.F10 | KeyCode.F11 | KeyCode.F12 | KeyCode.F13 | KeyCode.F14 | KeyCode.F15 | KeyCode.NumLock | KeyCode.CapsLock | KeyCode.ScrollLock | KeyCode.RightShift | KeyCode.LeftShift | KeyCode.RightControl | KeyCode.LeftControl | KeyCode.RightAlt | KeyCode.LeftAlt | KeyCode.RightMeta | KeyCode.LeftMeta | KeyCode.LeftSuper | KeyCode.RightSuper | KeyCode.Mode | KeyCode.Compose | KeyCode.Help | KeyCode.Print | KeyCode.SysReq | KeyCode.Break | KeyCode.Menu | KeyCode.Power | KeyCode.Euro | KeyCode.Undo | KeyCode.ButtonX | KeyCode.ButtonY | KeyCode.ButtonA | KeyCode.ButtonB | KeyCode.ButtonR1 | KeyCode.ButtonL1 | KeyCode.ButtonR2 | KeyCode.ButtonL2 | KeyCode.ButtonR3 | KeyCode.ButtonL3 | KeyCode.ButtonStart | KeyCode.ButtonSelect | KeyCode.DPadLeft | KeyCode.DPadRight | KeyCode.DPadUp | KeyCode.DPadDown | KeyCode.Thumbstick1 | KeyCode.Thumbstick2 | KeyCode.Thumbstick1Up | KeyCode.Thumbstick1Down | KeyCode.Thumbstick1Left | KeyCode.Thumbstick1Right | KeyCode.Thumbstick2Up | KeyCode.Thumbstick2Down | KeyCode.Thumbstick2Left | KeyCode.Thumbstick2Right | KeyCode.MouseLeftButton | KeyCode.MouseRightButton | KeyCode.MouseMiddleButton | KeyCode.MousePosition | KeyCode.TouchPosition | KeyCode.MouseWheel | KeyCode.TrackpadPan | KeyCode.TrackpadPinch | KeyCode.MouseDelta | KeyCode.World0 | KeyCode.World1 | KeyCode.World2 | KeyCode.World3 | KeyCode.World4 | KeyCode.World5 | KeyCode.World6 | KeyCode.World7 | KeyCode.World8 | KeyCode.World9 | KeyCode.World10 | KeyCode.World11 | KeyCode.World12 | KeyCode.World13 | KeyCode.World14 | KeyCode.World15 | KeyCode.World16 | KeyCode.World17 | KeyCode.World18 | KeyCode.World19 | KeyCode.World20 | KeyCode.World21 | KeyCode.World22 | KeyCode.World23 | KeyCode.World24 | KeyCode.World25 | KeyCode.World26 | KeyCode.World27 | KeyCode.World28 | KeyCode.World29 | KeyCode.World30 | KeyCode.World31 | KeyCode.World32 | KeyCode.World33 | KeyCode.World34 | KeyCode.World35 | KeyCode.World36 | KeyCode.World37 | KeyCode.World38 | KeyCode.World39 | KeyCode.World40 | KeyCode.World41 | KeyCode.World42 | KeyCode.World43 | KeyCode.World44 | KeyCode.World45 | KeyCode.World46 | KeyCode.World47 | KeyCode.World48 | KeyCode.World49 | KeyCode.World50 | KeyCode.World51 | KeyCode.World52 | KeyCode.World53 | KeyCode.World54 | KeyCode.World55 | KeyCode.World56 | KeyCode.World57 | KeyCode.World58 | KeyCode.World59 | KeyCode.World60 | KeyCode.World61 | KeyCode.World62 | KeyCode.World63 | KeyCode.World64 | KeyCode.World65 | KeyCode.World66 | KeyCode.World67 | KeyCode.World68 | KeyCode.World69 | KeyCode.World70 | KeyCode.World71 | KeyCode.World72 | KeyCode.World73 | KeyCode.World74 | KeyCode.World75 | KeyCode.World76 | KeyCode.World77 | KeyCode.World78 | KeyCode.World79 | KeyCode.World80 | KeyCode.World81 | KeyCode.World82 | KeyCode.World83 | KeyCode.World84 | KeyCode.World85 | KeyCode.World86 | KeyCode.World87 | KeyCode.World88 | KeyCode.World89 | KeyCode.World90 | KeyCode.World91 | KeyCode.World92 | KeyCode.World93 | KeyCode.World94 | KeyCode.World95 | KeyCode.MouseBackButton | KeyCode.MouseNoButton | KeyCode.MouseX | KeyCode.MouseY;
|
|
20737
|
+
export type KeyCode = KeyCode.Unknown | KeyCode.Backspace | KeyCode.Tab | KeyCode.Clear | KeyCode.Return | KeyCode.Pause | KeyCode.Escape | KeyCode.Space | KeyCode.QuotedDouble | KeyCode.Hash | KeyCode.Dollar | KeyCode.Percent | KeyCode.Ampersand | KeyCode.Quote | KeyCode.LeftParenthesis | KeyCode.RightParenthesis | KeyCode.Asterisk | KeyCode.Plus | KeyCode.Comma | KeyCode.Minus | KeyCode.Period | KeyCode.Slash | KeyCode.Zero | KeyCode.One | KeyCode.Two | KeyCode.Three | KeyCode.Four | KeyCode.Five | KeyCode.Six | KeyCode.Seven | KeyCode.Eight | KeyCode.Nine | KeyCode.Colon | KeyCode.Semicolon | KeyCode.LessThan | KeyCode.Equals | KeyCode.GreaterThan | KeyCode.Question | KeyCode.At | KeyCode.LeftBracket | KeyCode.BackSlash | KeyCode.RightBracket | KeyCode.Caret | KeyCode.Underscore | KeyCode.Backquote | KeyCode.A | KeyCode.B | KeyCode.C | KeyCode.D | KeyCode.E | KeyCode.F | KeyCode.G | KeyCode.H | KeyCode.I | KeyCode.J | KeyCode.K | KeyCode.L | KeyCode.M | KeyCode.N | KeyCode.O | KeyCode.P | KeyCode.Q | KeyCode.R | KeyCode.S | KeyCode.T | KeyCode.U | KeyCode.V | KeyCode.W | KeyCode.X | KeyCode.Y | KeyCode.Z | KeyCode.LeftCurly | KeyCode.Pipe | KeyCode.RightCurly | KeyCode.Tilde | KeyCode.Delete | KeyCode.KeypadZero | KeyCode.KeypadOne | KeyCode.KeypadTwo | KeyCode.KeypadThree | KeyCode.KeypadFour | KeyCode.KeypadFive | KeyCode.KeypadSix | KeyCode.KeypadSeven | KeyCode.KeypadEight | KeyCode.KeypadNine | KeyCode.KeypadPeriod | KeyCode.KeypadDivide | KeyCode.KeypadMultiply | KeyCode.KeypadMinus | KeyCode.KeypadPlus | KeyCode.KeypadEnter | KeyCode.KeypadEquals | KeyCode.Up | KeyCode.Down | KeyCode.Right | KeyCode.Left | KeyCode.Insert | KeyCode.Home | KeyCode.End | KeyCode.PageUp | KeyCode.PageDown | KeyCode.F1 | KeyCode.F2 | KeyCode.F3 | KeyCode.F4 | KeyCode.F5 | KeyCode.F6 | KeyCode.F7 | KeyCode.F8 | KeyCode.F9 | KeyCode.F10 | KeyCode.F11 | KeyCode.F12 | KeyCode.F13 | KeyCode.F14 | KeyCode.F15 | KeyCode.NumLock | KeyCode.CapsLock | KeyCode.ScrollLock | KeyCode.RightShift | KeyCode.LeftShift | KeyCode.RightControl | KeyCode.LeftControl | KeyCode.RightAlt | KeyCode.LeftAlt | KeyCode.RightMeta | KeyCode.LeftMeta | KeyCode.LeftSuper | KeyCode.RightSuper | KeyCode.Mode | KeyCode.Compose | KeyCode.Help | KeyCode.Print | KeyCode.SysReq | KeyCode.Break | KeyCode.Menu | KeyCode.Power | KeyCode.Euro | KeyCode.Undo | KeyCode.ButtonX | KeyCode.ButtonY | KeyCode.ButtonA | KeyCode.ButtonB | KeyCode.ButtonR1 | KeyCode.ButtonL1 | KeyCode.ButtonR2 | KeyCode.ButtonL2 | KeyCode.ButtonR3 | KeyCode.ButtonL3 | KeyCode.ButtonStart | KeyCode.ButtonSelect | KeyCode.DPadLeft | KeyCode.DPadRight | KeyCode.DPadUp | KeyCode.DPadDown | KeyCode.Thumbstick1 | KeyCode.Thumbstick2 | KeyCode.Thumbstick1Up | KeyCode.Thumbstick1Down | KeyCode.Thumbstick1Left | KeyCode.Thumbstick1Right | KeyCode.Thumbstick2Up | KeyCode.Thumbstick2Down | KeyCode.Thumbstick2Left | KeyCode.Thumbstick2Right | KeyCode.MouseLeftButton | KeyCode.MouseRightButton | KeyCode.MouseMiddleButton | KeyCode.MousePosition | KeyCode.TouchPosition | KeyCode.MouseWheel | KeyCode.TrackpadPan | KeyCode.TrackpadPinch | KeyCode.MouseDelta | KeyCode.TouchDelta | KeyCode.TouchPinch | KeyCode.World0 | KeyCode.World1 | KeyCode.World2 | KeyCode.World3 | KeyCode.World4 | KeyCode.World5 | KeyCode.World6 | KeyCode.World7 | KeyCode.World8 | KeyCode.World9 | KeyCode.World10 | KeyCode.World11 | KeyCode.World12 | KeyCode.World13 | KeyCode.World14 | KeyCode.World15 | KeyCode.World16 | KeyCode.World17 | KeyCode.World18 | KeyCode.World19 | KeyCode.World20 | KeyCode.World21 | KeyCode.World22 | KeyCode.World23 | KeyCode.World24 | KeyCode.World25 | KeyCode.World26 | KeyCode.World27 | KeyCode.World28 | KeyCode.World29 | KeyCode.World30 | KeyCode.World31 | KeyCode.World32 | KeyCode.World33 | KeyCode.World34 | KeyCode.World35 | KeyCode.World36 | KeyCode.World37 | KeyCode.World38 | KeyCode.World39 | KeyCode.World40 | KeyCode.World41 | KeyCode.World42 | KeyCode.World43 | KeyCode.World44 | KeyCode.World45 | KeyCode.World46 | KeyCode.World47 | KeyCode.World48 | KeyCode.World49 | KeyCode.World50 | KeyCode.World51 | KeyCode.World52 | KeyCode.World53 | KeyCode.World54 | KeyCode.World55 | KeyCode.World56 | KeyCode.World57 | KeyCode.World58 | KeyCode.World59 | KeyCode.World60 | KeyCode.World61 | KeyCode.World62 | KeyCode.World63 | KeyCode.World64 | KeyCode.World65 | KeyCode.World66 | KeyCode.World67 | KeyCode.World68 | KeyCode.World69 | KeyCode.World70 | KeyCode.World71 | KeyCode.World72 | KeyCode.World73 | KeyCode.World74 | KeyCode.World75 | KeyCode.World76 | KeyCode.World77 | KeyCode.World78 | KeyCode.World79 | KeyCode.World80 | KeyCode.World81 | KeyCode.World82 | KeyCode.World83 | KeyCode.World84 | KeyCode.World85 | KeyCode.World86 | KeyCode.World87 | KeyCode.World88 | KeyCode.World89 | KeyCode.World90 | KeyCode.World91 | KeyCode.World92 | KeyCode.World93 | KeyCode.World94 | KeyCode.World95 | KeyCode.MouseBackButton | KeyCode.MouseNoButton | KeyCode.MouseX | KeyCode.MouseY;
|
|
20720
20738
|
/**
|
|
20721
20739
|
* Describes the interpolation method between two keys.
|
|
20722
20740
|
*
|
|
@@ -22613,11 +22631,56 @@ declare namespace Enum {
|
|
|
22613
22631
|
EnumType: typeof globalThis.Enum.MeshPartDetailLevel;
|
|
22614
22632
|
}
|
|
22615
22633
|
export const Level04: Level04;
|
|
22634
|
+
/**
|
|
22635
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/MeshPartDetailLevel#Level05)
|
|
22636
|
+
*/
|
|
22637
|
+
export interface Level05 extends globalThis.EnumItem {
|
|
22638
|
+
Name: "Level05";
|
|
22639
|
+
Value: 6;
|
|
22640
|
+
EnumType: typeof globalThis.Enum.MeshPartDetailLevel;
|
|
22641
|
+
}
|
|
22642
|
+
export const Level05: Level05;
|
|
22643
|
+
/**
|
|
22644
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/MeshPartDetailLevel#Level06)
|
|
22645
|
+
*/
|
|
22646
|
+
export interface Level06 extends globalThis.EnumItem {
|
|
22647
|
+
Name: "Level06";
|
|
22648
|
+
Value: 7;
|
|
22649
|
+
EnumType: typeof globalThis.Enum.MeshPartDetailLevel;
|
|
22650
|
+
}
|
|
22651
|
+
export const Level06: Level06;
|
|
22652
|
+
/**
|
|
22653
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/MeshPartDetailLevel#Level07)
|
|
22654
|
+
*/
|
|
22655
|
+
export interface Level07 extends globalThis.EnumItem {
|
|
22656
|
+
Name: "Level07";
|
|
22657
|
+
Value: 8;
|
|
22658
|
+
EnumType: typeof globalThis.Enum.MeshPartDetailLevel;
|
|
22659
|
+
}
|
|
22660
|
+
export const Level07: Level07;
|
|
22661
|
+
/**
|
|
22662
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/MeshPartDetailLevel#Level08)
|
|
22663
|
+
*/
|
|
22664
|
+
export interface Level08 extends globalThis.EnumItem {
|
|
22665
|
+
Name: "Level08";
|
|
22666
|
+
Value: 9;
|
|
22667
|
+
EnumType: typeof globalThis.Enum.MeshPartDetailLevel;
|
|
22668
|
+
}
|
|
22669
|
+
export const Level08: Level08;
|
|
22670
|
+
/**
|
|
22671
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/MeshPartDetailLevel#Level09)
|
|
22672
|
+
*/
|
|
22673
|
+
export interface Level09 extends globalThis.EnumItem {
|
|
22674
|
+
Name: "Level09";
|
|
22675
|
+
Value: 10;
|
|
22676
|
+
EnumType: typeof globalThis.Enum.MeshPartDetailLevel;
|
|
22677
|
+
}
|
|
22678
|
+
export const Level09: Level09;
|
|
22616
22679
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.MeshPartDetailLevel>;
|
|
22617
22680
|
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.MeshPartDetailLevel | undefined;
|
|
22618
22681
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.MeshPartDetailLevel | undefined;
|
|
22619
22682
|
}
|
|
22620
|
-
export type MeshPartDetailLevel = MeshPartDetailLevel.DistanceBased | MeshPartDetailLevel.Level00 | MeshPartDetailLevel.Level01 | MeshPartDetailLevel.Level02 | MeshPartDetailLevel.Level03 | MeshPartDetailLevel.Level04;
|
|
22683
|
+
export type MeshPartDetailLevel = MeshPartDetailLevel.DistanceBased | MeshPartDetailLevel.Level00 | MeshPartDetailLevel.Level01 | MeshPartDetailLevel.Level02 | MeshPartDetailLevel.Level03 | MeshPartDetailLevel.Level04 | MeshPartDetailLevel.Level05 | MeshPartDetailLevel.Level06 | MeshPartDetailLevel.Level07 | MeshPartDetailLevel.Level08 | MeshPartDetailLevel.Level09;
|
|
22621
22684
|
/**
|
|
22622
22685
|
* Controls the `Workspace.MeshPartHeadsAndAccessories` feature.
|
|
22623
22686
|
*
|
|
@@ -23455,50 +23518,6 @@ declare namespace Enum {
|
|
|
23455
23518
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.MoveState | undefined;
|
|
23456
23519
|
}
|
|
23457
23520
|
export type MoveState = MoveState.Stopped | MoveState.Coasting | MoveState.Pushing | MoveState.Stopping | MoveState.AirFree;
|
|
23458
|
-
/**
|
|
23459
|
-
* Values for `Workspace.MoverConstraintRootBehavior`. Controls the logic for selecting the assembly root part when using various mover constraints.
|
|
23460
|
-
*
|
|
23461
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/MoverConstraintRootBehaviorMode)
|
|
23462
|
-
*/
|
|
23463
|
-
export namespace MoverConstraintRootBehaviorMode {
|
|
23464
|
-
/**
|
|
23465
|
-
* The default option for `Workspace.MoverConstraintRootBehavior`. Currently set to **Disabled**.
|
|
23466
|
-
*
|
|
23467
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/MoverConstraintRootBehaviorMode#Default)
|
|
23468
|
-
*/
|
|
23469
|
-
export interface Default extends globalThis.EnumItem {
|
|
23470
|
-
Name: "Default";
|
|
23471
|
-
Value: 0;
|
|
23472
|
-
EnumType: typeof globalThis.Enum.MoverConstraintRootBehaviorMode;
|
|
23473
|
-
}
|
|
23474
|
-
export const Default: Default;
|
|
23475
|
-
/**
|
|
23476
|
-
* The legacy logic will be used for assembly root part selection when a mechanism contains a mover constraint.
|
|
23477
|
-
*
|
|
23478
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/MoverConstraintRootBehaviorMode#Disabled)
|
|
23479
|
-
*/
|
|
23480
|
-
export interface Disabled extends globalThis.EnumItem {
|
|
23481
|
-
Name: "Disabled";
|
|
23482
|
-
Value: 1;
|
|
23483
|
-
EnumType: typeof globalThis.Enum.MoverConstraintRootBehaviorMode;
|
|
23484
|
-
}
|
|
23485
|
-
export const Disabled: Disabled;
|
|
23486
|
-
/**
|
|
23487
|
-
* Improved logic will be used for assembly root part selection when a mechanism contains a mover constraint. This improved logic gives more consistent behavior when compared with other constraints or the deprecated `BodyMover` classes.
|
|
23488
|
-
*
|
|
23489
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/MoverConstraintRootBehaviorMode#Enabled)
|
|
23490
|
-
*/
|
|
23491
|
-
export interface Enabled extends globalThis.EnumItem {
|
|
23492
|
-
Name: "Enabled";
|
|
23493
|
-
Value: 2;
|
|
23494
|
-
EnumType: typeof globalThis.Enum.MoverConstraintRootBehaviorMode;
|
|
23495
|
-
}
|
|
23496
|
-
export const Enabled: Enabled;
|
|
23497
|
-
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.MoverConstraintRootBehaviorMode>;
|
|
23498
|
-
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.MoverConstraintRootBehaviorMode | undefined;
|
|
23499
|
-
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.MoverConstraintRootBehaviorMode | undefined;
|
|
23500
|
-
}
|
|
23501
|
-
export type MoverConstraintRootBehaviorMode = MoverConstraintRootBehaviorMode.Default | MoverConstraintRootBehaviorMode.Disabled | MoverConstraintRootBehaviorMode.Enabled;
|
|
23502
23521
|
/**
|
|
23503
23522
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/MuteState)
|
|
23504
23523
|
*/
|