@rbxts/types 1.0.919 → 1.0.921

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.
@@ -83,6 +83,7 @@ interface Services {
83
83
  FacialAnimationStreamingServiceV2: FacialAnimationStreamingServiceV2;
84
84
  FeatureRestrictionManager: FeatureRestrictionManager;
85
85
  FileManagerService: FileManagerService;
86
+ FileSyncReplicationService: FileSyncReplicationService;
86
87
  GamepadService: GamepadService;
87
88
  GamePassService: GamePassService;
88
89
  GameSettings: GameSettings;
@@ -95,6 +96,7 @@ interface Services {
95
96
  HapticService: HapticService;
96
97
  HarmonyService: HarmonyService;
97
98
  HeapProfilerService: HeapProfilerService;
99
+ HeatmapQueryService: HeatmapQueryService;
98
100
  HeatmapService: HeatmapService;
99
101
  HeightmapImporterService: HeightmapImporterService;
100
102
  HttpService: HttpService;
@@ -194,6 +196,7 @@ interface Services {
194
196
  ScriptCloneWatcherHelper: ScriptCloneWatcherHelper;
195
197
  ScriptCommitService: ScriptCommitService;
196
198
  ScriptContext: ScriptContext;
199
+ ScriptDebuggerService: ScriptDebuggerService;
197
200
  ScriptEditorService: ScriptEditorService;
198
201
  ScriptProfilerService: ScriptProfilerService;
199
202
  ScriptRegistrationService: ScriptRegistrationService;
@@ -1425,7 +1428,7 @@ interface Animator extends Instance {
1425
1428
  *
1426
1429
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Animator#StepAnimations)
1427
1430
  * @param this Responsible for the playback and replication of `Animations`.
1428
- * @param deltaTime The amount of time in seconds animation playback is to be incremented by.
1431
+ * @param deltaTime The amount of time in seconds animation playback is to be incremented. by.
1429
1432
  */
1430
1433
  StepAnimations(this: Animator, deltaTime: number): void;
1431
1434
  }
@@ -2298,7 +2301,7 @@ interface AvatarSettings extends Instance {
2298
2301
  readonly _nominal_AvatarSettings: unique symbol;
2299
2302
  }
2300
2303
  /**
2301
- * A container object that holds a player's inventory. Any `Tool` in a player's Backpack will be displayed in their inventory at the bottom of their screen.
2304
+ * A container object that holds a player's inventory. Any `Tool` in a player's `Backpack` will be displayed in their inventory at the bottom of the screen.
2302
2305
  *
2303
2306
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Backpack)
2304
2307
  */
@@ -2544,7 +2547,7 @@ interface CoreGui extends BasePlayerGui {
2544
2547
  readonly _nominal_CoreGui: unique symbol;
2545
2548
  }
2546
2549
  /**
2547
- * A container for a player's currently rendered `ScreenGuis`.
2550
+ * A container that holds a player's UI.
2548
2551
  *
2549
2552
  * - **Tags**: NotCreatable, PlayerReplicated
2550
2553
  *
@@ -3562,7 +3565,7 @@ interface ConfigService extends Instance {
3562
3565
  readonly _nominal_ConfigService: unique symbol;
3563
3566
  }
3564
3567
  /**
3565
- * The Configuration object is a container object that is designed to hold value objects to make values used in `Tools` or any model using `Scripts` more accessible.
3568
+ * A container object designed to hold value objects. Makes values used in `Tools` or any model using `Scripts` more accessible.
3566
3569
  *
3567
3570
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Configuration)
3568
3571
  */
@@ -5021,7 +5024,7 @@ interface ExperienceStateCaptureService extends Instance {
5021
5024
  readonly _nominal_ExperienceStateCaptureService: unique symbol;
5022
5025
  }
5023
5026
  /**
5024
- * - **Tags**: NotCreatable, Service, NotReplicated
5027
+ * - **Tags**: NotCreatable, Service
5025
5028
  *
5026
5029
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ExperienceStateRecordingService)
5027
5030
  */
@@ -5867,6 +5870,21 @@ interface FileManagerService extends Instance {
5867
5870
  */
5868
5871
  readonly _nominal_FileManagerService: unique symbol;
5869
5872
  }
5873
+ /**
5874
+ * - **Tags**: NotCreatable, Service
5875
+ *
5876
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/FileSyncReplicationService)
5877
+ */
5878
+ interface FileSyncReplicationService extends Instance {
5879
+ /**
5880
+ * **DO NOT USE!**
5881
+ *
5882
+ * This field exists to force TypeScript to recognize this as a nominal type
5883
+ * @hidden
5884
+ * @deprecated
5885
+ */
5886
+ readonly _nominal_FileSyncReplicationService: unique symbol;
5887
+ }
5870
5888
  /**
5871
5889
  * A preconfigured particle emitter with the visual aesthetic of fire.
5872
5890
  *
@@ -7136,6 +7154,21 @@ interface HeapProfilerService extends Instance {
7136
7154
  */
7137
7155
  readonly OnNewData: RBXScriptSignal<(player: Player, jsonString: buffer, id: number, compressedLength: number, uncompressedLength: number) => void>;
7138
7156
  }
7157
+ /**
7158
+ * - **Tags**: NotCreatable, Service
7159
+ *
7160
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/HeatmapQueryService)
7161
+ */
7162
+ interface HeatmapQueryService extends Instance {
7163
+ /**
7164
+ * **DO NOT USE!**
7165
+ *
7166
+ * This field exists to force TypeScript to recognize this as a nominal type
7167
+ * @hidden
7168
+ * @deprecated
7169
+ */
7170
+ readonly _nominal_HeatmapQueryService: unique symbol;
7171
+ }
7139
7172
  /**
7140
7173
  * - **Tags**: NotCreatable, Service
7141
7174
  *
@@ -9352,7 +9385,7 @@ interface WedgePart extends FormFactorPart {
9352
9385
  readonly _nominal_WedgePart: unique symbol;
9353
9386
  }
9354
9387
  /**
9355
- * Terrain lets you to create dynamically morphable environments.
9388
+ * `Terrain` lets you to create dynamically morphable environments.
9356
9389
  *
9357
9390
  * - **Tags**: NotCreatable
9358
9391
  *
@@ -9368,7 +9401,7 @@ interface Terrain extends BasePart {
9368
9401
  */
9369
9402
  readonly _nominal_Terrain: unique symbol;
9370
9403
  /**
9371
- * **Deprecated:** Since all places now automatically use the new terrain engine, this method is obsolete. Do not use it for new work.
9404
+ * **Deprecated:** Since all places now automatically use the new terrain engine, this method is obsolete.
9372
9405
  *
9373
9406
  * Transforms the legacy terrain engine into the new terrain engine.
9374
9407
  *
@@ -9376,7 +9409,7 @@ interface Terrain extends BasePart {
9376
9409
  * - **Tags**:
9377
9410
  *
9378
9411
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Terrain#ConvertToSmooth)
9379
- * @param this Terrain lets you to create dynamically morphable environments.
9412
+ * @param this `Terrain` lets you to create dynamically morphable environments.
9380
9413
  *
9381
9414
  * @deprecated
9382
9415
  */
@@ -10230,7 +10263,7 @@ interface PathfindingLink extends Instance {
10230
10263
  readonly _nominal_PathfindingLink: unique symbol;
10231
10264
  }
10232
10265
  /**
10233
- * Modifiers used to represent space that has a higher or lower cost to be traversed when creating paths using the `PathfindingService`.
10266
+ * Modifiers used to represent space that has a higher or lower cost to be traversed when creating paths using `PathfindingService`.
10234
10267
  *
10235
10268
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PathfindingModifier)
10236
10269
  */
@@ -10760,7 +10793,7 @@ interface PlayerHydrationService extends Instance {
10760
10793
  readonly _nominal_PlayerHydrationService: unique symbol;
10761
10794
  }
10762
10795
  /**
10763
- * A container for LocalScripts to be run on the client.
10796
+ * A container for client-side scripts to be run inside `Player` objects within the `Players` service.
10764
10797
  *
10765
10798
  * - **Tags**: NotCreatable, NotReplicated
10766
10799
  *
@@ -12441,6 +12474,93 @@ interface ScriptDebugger extends Instance {
12441
12474
  */
12442
12475
  readonly _nominal_ScriptDebugger: unique symbol;
12443
12476
  }
12477
+ /**
12478
+ * - **Tags**: NotCreatable, Service, NotReplicated
12479
+ *
12480
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptDebuggerService)
12481
+ */
12482
+ interface ScriptDebuggerService extends Instance {
12483
+ /**
12484
+ * **DO NOT USE!**
12485
+ *
12486
+ * This field exists to force TypeScript to recognize this as a nominal type
12487
+ * @hidden
12488
+ * @deprecated
12489
+ */
12490
+ readonly _nominal_ScriptDebuggerService: unique symbol;
12491
+ /**
12492
+ * - **ThreadSafety**: Unsafe
12493
+ *
12494
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptDebuggerService#AddBreakpoint)
12495
+ */
12496
+ AddBreakpoint(this: ScriptDebuggerService, scriptInstance: LuaSourceContainer, breakpoint: object): object;
12497
+ /**
12498
+ * - **ThreadSafety**: Unsafe
12499
+ *
12500
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptDebuggerService#ClearBreakpoints)
12501
+ */
12502
+ ClearBreakpoints(this: ScriptDebuggerService): void;
12503
+ /**
12504
+ * - **ThreadSafety**: Unsafe
12505
+ *
12506
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptDebuggerService#Evaluate)
12507
+ */
12508
+ Evaluate(this: ScriptDebuggerService, expression: string, frameId?: number): object;
12509
+ /**
12510
+ * - **ThreadSafety**: Unsafe
12511
+ *
12512
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptDebuggerService#GetRootVariables)
12513
+ */
12514
+ GetRootVariables(this: ScriptDebuggerService, frameId: number): Array<unknown>;
12515
+ /**
12516
+ * - **ThreadSafety**: Unsafe
12517
+ *
12518
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptDebuggerService#GetStackTrace)
12519
+ */
12520
+ GetStackTrace(this: ScriptDebuggerService, threadId: number, startFrame?: number): object;
12521
+ /**
12522
+ * - **ThreadSafety**: Unsafe
12523
+ *
12524
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptDebuggerService#GetThreads)
12525
+ */
12526
+ GetThreads(this: ScriptDebuggerService): Array<unknown>;
12527
+ /**
12528
+ * - **ThreadSafety**: Unsafe
12529
+ *
12530
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptDebuggerService#GetVariables)
12531
+ */
12532
+ GetVariables(this: ScriptDebuggerService, variablesReference: number): Array<unknown>;
12533
+ /**
12534
+ * - **ThreadSafety**: Unsafe
12535
+ *
12536
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptDebuggerService#Pause)
12537
+ */
12538
+ Pause(this: ScriptDebuggerService): void;
12539
+ /**
12540
+ * - **ThreadSafety**: Unsafe
12541
+ *
12542
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptDebuggerService#RemoveBreakpoint)
12543
+ */
12544
+ RemoveBreakpoint(this: ScriptDebuggerService, scriptInstance: LuaSourceContainer, line: number): boolean;
12545
+ /**
12546
+ * - **ThreadSafety**: Unsafe
12547
+ *
12548
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptDebuggerService#SetExceptionBreakMode)
12549
+ */
12550
+ SetExceptionBreakMode(this: ScriptDebuggerService, breakMode: CastsToEnum<Enum.DebugBreakModeType>): void;
12551
+ /**
12552
+ * - **ThreadSafety**: Unsafe
12553
+ *
12554
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptDebuggerService#Resumed)
12555
+ */
12556
+ readonly Resumed: RBXScriptSignal<(threadIds: Array<unknown>) => void>;
12557
+ /**
12558
+ * - **ThreadSafety**: Unsafe
12559
+ *
12560
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptDebuggerService#OnStopped)
12561
+ */
12562
+ OnStopped: ((stopped: object) => object) | undefined;
12563
+ }
12444
12564
  /**
12445
12565
  * - **Tags**: NotCreatable, NotReplicated
12446
12566
  *
@@ -13762,7 +13882,7 @@ interface StartPageService extends Instance {
13762
13882
  readonly _nominal_StartPageService: unique symbol;
13763
13883
  }
13764
13884
  /**
13765
- * If the game allows gear, StarterGear contains all of a player's appropriate gear. Whenever the player's character spawns, all of the contents of that player's StarterGear will get copied into the player's `Backpack`.
13885
+ * If the game allows gear, `StarterGear` is a container automatically inserted into each `Player` object when the player joins the game. Whenever the player's character spawns, the contents of that player's `StarterGear` are copied into the player's `Backpack`.
13766
13886
  *
13767
13887
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StarterGear)
13768
13888
  */
@@ -13777,7 +13897,7 @@ interface StarterGear extends Instance {
13777
13897
  readonly _nominal_StarterGear: unique symbol;
13778
13898
  }
13779
13899
  /**
13780
- * A service-level container whose contents are copied into each player's `Backpack` when the player spawns. It is generally used to hold `Tools`, but is sometimes used to hold `LocalScripts` to ensure that each player gets a copy.
13900
+ * A container whose contents are copied into each player's `Backpack` when their player character spawns. It is generally used to hold `Tools`.
13781
13901
  *
13782
13902
  * - **Tags**: NotCreatable, Service
13783
13903
  *
@@ -14097,12 +14217,15 @@ interface StudioCaptureService extends Instance {
14097
14217
  * - **ThreadSafety**: Unsafe
14098
14218
  *
14099
14219
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioCaptureService#CanCaptureScreenshot)
14220
+ * @param this
14100
14221
  */
14101
14222
  CanCaptureScreenshot(this: StudioCaptureService): boolean;
14102
14223
  /**
14103
14224
  * - **ThreadSafety**: Unsafe
14104
14225
  *
14105
14226
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioCaptureService#CaptureScreenshot)
14227
+ * @param this
14228
+ * @param screenshotOptions
14106
14229
  */
14107
14230
  CaptureScreenshot(this: StudioCaptureService, screenshotOptions: object): StudioScreenshotCapture;
14108
14231
  /**
@@ -14110,6 +14233,7 @@ interface StudioCaptureService extends Instance {
14110
14233
  * - **Tags**: Yields
14111
14234
  *
14112
14235
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioCaptureService#RequestScreenshotPermissionAsync)
14236
+ * @param this
14113
14237
  */
14114
14238
  RequestScreenshotPermissionAsync(this: StudioCaptureService): boolean;
14115
14239
  }
@@ -14418,12 +14542,14 @@ interface StudioScreenshotCapture extends Instance {
14418
14542
  * - **ThreadSafety**: Unsafe
14419
14543
  *
14420
14544
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioScreenshotCapture#GetBuffer)
14545
+ * @param this
14421
14546
  */
14422
14547
  GetBuffer(this: StudioScreenshotCapture): buffer;
14423
14548
  /**
14424
14549
  * - **ThreadSafety**: Unsafe
14425
14550
  *
14426
14551
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioScreenshotCapture#GetErrors)
14552
+ * @param this
14427
14553
  */
14428
14554
  GetErrors(this: StudioScreenshotCapture): Array<unknown>;
14429
14555
  /**
@@ -14431,6 +14557,9 @@ interface StudioScreenshotCapture extends Instance {
14431
14557
  * - **Tags**: Yields
14432
14558
  *
14433
14559
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioScreenshotCapture#ScaleAsync)
14560
+ * @param this
14561
+ * @param strategy
14562
+ * @param newSize
14434
14563
  */
14435
14564
  ScaleAsync(this: StudioScreenshotCapture, strategy: CastsToEnum<Enum.ResamplerMode>, newSize: Vector2): StudioScreenshotCapture;
14436
14565
  }
@@ -16079,6 +16208,8 @@ interface UIScale extends UIComponent {
16079
16208
  readonly _nominal_UIScale: unique symbol;
16080
16209
  }
16081
16210
  /**
16211
+ * Renders a shadow below the parent UI instance.
16212
+ *
16082
16213
  * - **Tags**: NotBrowsable
16083
16214
  *
16084
16215
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/UIShadow)